Forrest logo
back to the toolbox tool

toolbox-rmi:tldr:e2c3b

toolbox-rmi: Force the removal of a `toolbox` image which is currently being used by a container (the container will be removed as well).
$ toolbox rmi --force ${image_name}
try on your machine

This command is using the toolbox tool to remove a Docker image.

Here's a breakdown of each part of the command:

  • toolbox is the name of the tool being used to manage Docker.
  • rmi refers to the "remove image" action in Docker.
  • --force is a flag that forces the removal of the image, even if it is being used by running containers.
  • ${image_name} is a placeholder for the name of the Docker image you want to remove. You need to replace ${image_name} with the actual name of the image you want to delete.

So, by running this command, you will forcefully remove the specified Docker image, even if it is currently being used by any running containers.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the toolbox tool