Skip to content

Troubleshooting

Don Richards edited this page Sep 26, 2022 · 5 revisions

Won't start after running make clean

git checkout codebase

Won't start after a test

  • Check if the docker-compose.yml is empty, remove it if so.
  • Check if there is a .docker-compose.yml file (leading dot) and remove it.
  • Run make up to rebuild the docker-compose.yml file

Docker

sudo systemctl restart docker

Docker Reset

WARNING!!! This will kill all docker storage and anything container including containers not related to this repo. EVERYTHING and I mean literally everything related to Docker. DO NOT USE ON A PRODUCTION SITE.

docker kill $(docker ps -q) ; docker rm $(docker ps -a -q) ; docker rmi $(docker images -q) ; docker system prune --volumes -a -f ; docker network prune -f && docker network create gateway

Failure after pushing to a pull request

Check locally with make static-docker-compose.yml up, you can add -d after make (make -d static-dock...) to run in debug mode.

The root directory is