How to remove Arbitrator
  • 1 minute to read
  • Dark
    Light
  • PDF

How to remove Arbitrator

  • Dark
    Light
  • PDF

Article summary

To remove Arbitrator, follow the instructions below:

  1. Stop all running containers.
cd /opt/manifests/docker-compose
docker-compose down
  1. If you don't use docker-compose, you must list the containers and stop their execution manually.
  2. To list the running containers, use the docker ps -a command. You should get an output such as the one below:
CONTAINER ID   IMAGE     COMMAND                  CREATED          STATUS                  PORTS     NAMES
3034e9858c2e   ubuntu    "/bin/bash"              10 seconds ago   Running (0) 7 seconds ago              hungry_goodall
  1. To stop the container, use the command docker stop <nome-do-container>.
  2. To list the containers again, use the command docker ps -a. You’ll see an exit like the one below:
CONTAINER ID   IMAGE     COMMAND                  CREATED          STATUS                      PORTS     NAMES
3034e9858c2e   ubuntu    "/bin/bash"              10 seconds ago   Exited (0) 7 seconds ago              hungry_goodall
  1. Make sure that the container has been stopped. To do this, the STATUS column must be set to Exited.
  2. After the containers have finished running, update senhasegura.

It's also possible to completely remove the Docker images instead of just stopping their execution. To remove these images, proceed with the commands below:

  1. After stopping the execution of the containers with the docker-compose down or docker stop <my-container> commands, use the docker image rmi <image_id> command. This command will remove the image according to its ID.
  2. You can remove several images simultaneously by using the docker images rmi <image_id> <image_id> command, passing on the IDs of the images you want to remove.

Do you still have questions? Reach out to the senhasegura Community.


Was this article helpful?