docker-compose ps
: To see what is currently running.docker inspect $CONTAINER_NAME
: provide details on the container configuration, including the mounted volumes (SeeMounts
section)docker exec -it $CONTAINER_NAME bash
: get a shell on the containerdocker rm $(docker ps -a -q)
: Remove all containersdocker rmi $(docker images -q)
: Remove all images
docker rm -v $(docker ps -a -q -f status=exited)
: Remove exited Docker containersdocker rmi $(docker images -f "dangling=true" -q)
: Remove all dangling imagesdocker volume rm $(docker volume ls -qf dangling=true)
: Remove all dangling volumes
This section covers common issues that developers may encounter when executing this project.
Bad response from Docker engine
If when trying to execute docker/run
you get ERROR: Bad response from Docker engine
Resetting to factory defaults in the docker menu (settings) fixed the issue.
No such file or directory
ERROR: Service 'app' failed to build: lstat .cache.tgz: no such file or directory
Don't try to run the command docker-compose up
, instead always run: docker/run
from the project root directory.