MCPcopy Create free account
hub / github.com/Metaswitch/floki / launch

Method launch

src/dind.rs:28–40  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

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

Callers 1

run_floki_containerFunction · 0.80

Calls 1

start_as_daemonMethod · 0.80

Tested by

no test coverage detected