-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor so that Dind now uses DockerCommandBuilder
Added further function to `DocekrCommandBuilder` so that `Dind` can be implemented in terms of `Command`. This allows the functionality of `Command` to be used to program `Dind`. Launching `dind` was also moved to the high-level interpreting functions, rather than being buried deep in one of the command functions. This makes it clearer when dind is launched. `DockerCommandBuilder`s can now be instantiated as daemons, which produce a handle to the daemon docker container. When this handle is dropped, the container is cleaned up. Signed-off-by: Richard Lupton <[email protected]>
- Loading branch information
Showing
3 changed files
with
96 additions
and
64 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters