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

removeImages() — spring-boot Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  1f5de288_4054_671a_09ef_4241b1ba9474["removeImages()"]
  fca5e29a_0f9f_b155_2b73_b30f9b2719af["whenBuildImageIsInvokedOnLinuxArmWithImagePlatformLinuxArm()"]
  fca5e29a_0f9f_b155_2b73_b30f9b2719af -->|calls| 1f5de288_4054_671a_09ef_4241b1ba9474
  c13573ef_b942_aa28_22be_11d7e2fd1b4e["failsWhenBuildImageIsInvokedOnLinuxAmdWithImagePlatformLinuxArm()"]
  c13573ef_b942_aa28_22be_11d7e2fd1b4e -->|calls| 1f5de288_4054_671a_09ef_4241b1ba9474
  41f5c9ca_7a61_90cb_4750_c29c1a092e1c["DockerApi()"]
  1f5de288_4054_671a_09ef_4241b1ba9474 -->|calls| 41f5c9ca_7a61_90cb_4750_c29c1a092e1c
  6973e1db_a9cb_9d4d_d9b0_e1dd043abfb1["image()"]
  1f5de288_4054_671a_09ef_4241b1ba9474 -->|calls| 6973e1db_a9cb_9d4d_d9b0_e1dd043abfb1
  e06ce851_18c5_fa12_ce9e_f2cd6d064b8d["remove()"]
  1f5de288_4054_671a_09ef_4241b1ba9474 -->|calls| e06ce851_18c5_fa12_ce9e_f2cd6d064b8d
  cf1ac3fd_e688_8452_d6a0_046a45830184["of()"]
  1f5de288_4054_671a_09ef_4241b1ba9474 -->|calls| cf1ac3fd_e688_8452_d6a0_046a45830184
  style 1f5de288_4054_671a_09ef_4241b1ba9474 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

build-plugin/spring-boot-maven-plugin/src/dockerTest/java/org/springframework/boot/maven/BuildImageTests.java lines 639–649

	private void removeImages(String... names) throws IOException {
		ImageApi imageApi = new DockerApi().image();
		for (String name : names) {
			try {
				imageApi.remove(ImageReference.of(name), false);
			}
			catch (DockerEngineException ex) {
				// ignore image remove failures
			}
		}
	}

Subdomains

Called By

Frequently Asked Questions

What does removeImages() do?
removeImages() is a function in the spring-boot codebase.
What does removeImages() call?
removeImages() calls 4 function(s): DockerApi, image, of, remove.
What calls removeImages()?
removeImages() is called by 2 function(s): failsWhenBuildImageIsInvokedOnLinuxAmdWithImagePlatformLinuxArm, whenBuildImageIsInvokedOnLinuxArmWithImagePlatformLinuxArm.

Analyze Your Own Codebase

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

Try Supermodel Free