Skip to content
This repository has been archived by the owner on Oct 17, 2020. It is now read-only.

Troubleshooting

Zach Weishar edited this page Mar 27, 2017 · 5 revisions

Are you encountering odd behavior? Here are some Docker specific commands to help diagnose the problem.

  • List all running containers: docker ps
    • If you see something you don't expect you can remove it with docker rm name-of-container -f
  • List all containers (both running and halted): docker ps -a
    • If you see something you don't expect you can remove it with docker rm name-of-container
  • List all volumes on your localhost (where mysql data is stored): docker volume ls
    • If you see something you don't expect you can remove it with docker volume rm name-of-container
  • If you want to be sure you don't have any orphaned containers, you can run docker stop $(docker ps -a -q) followed by docker rm $(docker ps -a -q)
Clone this wiki locally