You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sowmiya Nagarajan edited this page Mar 21, 2020
·
3 revisions
Possible issues
1. Missing python 3 installation
Currently stack.py can only run in a python3 installation (Python2 is already deprecated 😜) Thus make sure either python or python3 point to a python3 installation in your machine.
2. Insufficent docker memory
When trying to bring up multiple containers, it's important to have 6-8GB memory provisioned in your docker desktop installation. By default docker gets installed with 2GB memory. This can be increased in docker preferences --> resources tab.
Debugging tips
1. List containers or see logs
Use docker ps to list containers and see all the containers that you asked for are up. If not look into logs for logs on each of the docker-compose stages.
2. Application/services error logs
If all your containers are up and yet the services are not working as expected. Use one of the following to debug.
docker-compose logs to list out all container running logs.
Do docker ps and get specific container name, then do docker logs <container-name> to get container specific logs. You should be able to see errors in there.