(self)
| 26 | } |
| 27 | |
| 28 | pub fn launch(self) -> Result<DaemonHandle, Error> { |
| 29 | info!( |
| 30 | "Starting docker:dind container with name {}", |
| 31 | self.command.name() |
| 32 | ); |
| 33 | let handle = self.command.start_as_daemon(&[ |
| 34 | "dockerd", |
| 35 | "--tls=false", |
| 36 | "--host=tcp://0.0.0.0:2375", |
| 37 | ])?; |
| 38 | info!("docker:dind launched"); |
| 39 | Ok(handle) |
| 40 | } |
| 41 | } |
| 42 | |
| 43 | /// Check the docker dind image is available |
no test coverage detected