You are here

26 March 2018

Easy fix for an error "ERROR: for [CONTAINER_NAME] Cannot start service mailhog: container "[CONTAINER_ID]": already exists.". This is the quick fix, the to problem. To find out what went wrong with the container, you can check docker log.

Source code viewer
  1. docker stop $(docker ps -a -q)
  2. docker rm $(docker ps -a -q)
Programming Language: Bash