Home / Function/ DockerCli() — spring-boot Function Reference

DockerCli() — spring-boot Function Reference

Architecture documentation for the DockerCli() function in DockerCli.java from the spring-boot codebase.

Entity Profile

Dependency Diagram

graph TD
  8176db5a_10ca_0fc9_201a_fa7575e3f23c["DockerCli()"]
  3594d624_247b_04b4_3c3e_ae61fef462b2["DockerCommands()"]
  8176db5a_10ca_0fc9_201a_fa7575e3f23c -->|calls| 3594d624_247b_04b4_3c3e_ae61fef462b2
  c5adb436_4de8_6574_58fd_e072060dc9b3["none()"]
  8176db5a_10ca_0fc9_201a_fa7575e3f23c -->|calls| c5adb436_4de8_6574_58fd_e072060dc9b3
  e83926a3_b44f_2678_7adc_e60758a100bd["get()"]
  8176db5a_10ca_0fc9_201a_fa7575e3f23c -->|calls| e83926a3_b44f_2678_7adc_e60758a100bd
  style 8176db5a_10ca_0fc9_201a_fa7575e3f23c fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

core/spring-boot-docker-compose/src/main/java/org/springframework/boot/docker/compose/core/DockerCli.java lines 64–70

	DockerCli(@Nullable File workingDirectory, @Nullable DockerComposeOptions dockerComposeOptions) {
		this.processRunner = new ProcessRunner(workingDirectory);
		this.dockerCommands = dockerCommandsCache.computeIfAbsent(workingDirectory,
				(key) -> new DockerCommands(this.processRunner));
		this.dockerComposeOptions = (dockerComposeOptions != null) ? dockerComposeOptions : DockerComposeOptions.none();
		this.composeVersion = ComposeVersion.of(this.dockerCommands.get(Type.DOCKER_COMPOSE).version());
	}

Domain

Subdomains

Calls

Frequently Asked Questions

What does DockerCli() do?
DockerCli() is a function in the spring-boot codebase.
What does DockerCli() call?
DockerCli() calls 3 function(s): DockerCommands, get, none.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free