Breadcrumbs

Uninstalling a Docker Bridge

To completely uninstall a Bridge that has been installed with Docker, you need to remove

  • the Docker container

  • the Docker volumes

  • the Docker image

Step 1: Removing the Docker Container and the Volumes

  1. Go to the folder where you have stored your docker-compose.yml file.

  2. Drop the Bridge Docker container and its related volumes with

    docker-compose down -v
    

Option -v irreversibly removes the Bridge data directory of the Bridge installation. If you only want to remove the Docker container, use

docker-compose down

Step 2: Remove the Docker Image

Remove the Bridge Docker image using

docker image rm bridge:<version>

If you have kept multiple images of the Bridge, you need to remove them one by one, specifying the version.