Skip to content

Refactor/use bollard for docker#28

Open
Shakib448 wants to merge 5 commits into
thearyanahmed:masterfrom
Shakib448:refactor/use-bollard-for-docker
Open

Refactor/use bollard for docker#28
Shakib448 wants to merge 5 commits into
thearyanahmed:masterfrom
Shakib448:refactor/use-bollard-for-docker

Conversation

@Shakib448

@Shakib448 Shakib448 commented Jun 15, 2026

Copy link
Copy Markdown

Replace shell commands with Bollard API

Migrate the Docker executor from shelling out to the docker CLI to
The bollard crate, talking to the daemon directly.

  • pull, run, wait, logs, kill, and cleanup now use bollard
  • image build uses build_image with a gzip tar context (BuildKit enabled)
  • availability check queries the daemon via bollard
  • remove unused Stdio and Command imports

Closes #6

Migrate the Docker executor from shelling out to the  CLI to
the bollard crate, talking to the daemon directly.

- pull, run, wait, logs, kill, and cleanup now use bollard
- image build uses build_image with a gzip tar context (BuildKit enabled)
- availability check queries the daemon via bollard
- is_docker_available is now a method; dropped from re-export, test updated
- remove unused Stdio and Command imports

Updated for bollard 0.21: options use query_parameters builders,
Config replaced by ContainerCreateBody, generics dropped from container methods.
Migrate the Docker executor from shelling out to the  CLI to
the bollard crate, talking to the daemon directly.

- pull, run, wait, logs, kill, and cleanup now use bollard
- image build uses build_image with a gzip tar context (BuildKit enabled)
- availability check queries the daemon via bollard
- is_docker_available is now a method; dropped from re-export, test updated
- remove unused Stdio and Command imports

Updated for bollard 0.21: options use query_parameters builders,
Config replaced by ContainerCreateBody, generics dropped from container methods.
Migrate the Docker executor from shelling out to the  CLI to
the bollard crate, talking to the daemon directly.

- pull, run, wait, logs, kill, and cleanup now use bollard
- image build uses build_image with a gzip tar context (BuildKit enabled)
- availability check queries the daemon via bollard
- is_docker_available is now a method; dropped from re-export, test updated
- remove unused Stdio and Command imports

Updated for bollard 0.21: options use query_parameters builders,
Config replaced by ContainerCreateBody, generics dropped from container methods.
Migrate the Docker executor from shelling out to the  CLI to
the bollard crate, talking to the daemon directly.

- pull, run, wait, logs, kill, and cleanup now use bollard
- image build uses build_image with a gzip tar context (BuildKit enabled)
- availability check queries the daemon via bollard
- is_docker_available is now a method; dropped from re-export, test updated
- remove unused Stdio and Command imports

Updated for bollard 0.21: options use query_parameters builders,
Config replaced by ContainerCreateBody, generics dropped from container methods.
Migrate the Docker executor from shelling out to the  CLI to
the bollard crate, talking to the daemon directly.

- pull, run, wait, logs, kill, and cleanup now use bollard
- image build uses build_image with a gzip tar context (BuildKit enabled)
- availability check queries the daemon via bollard
- is_docker_available is now a method; dropped from re-export, test updated
- remove unused Stdio and Command imports

Updated for bollard 0.21: options use query_parameters builders,
Config replaced by ContainerCreateBody, generics dropped from container methods.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Consider using bollard for calling docker

1 participant