-
Notifications
You must be signed in to change notification settings - Fork 6
Debugging
Sowmiya Nagarajan edited this page Mar 21, 2020
·
3 revisions
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.
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.
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.
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 dodocker logs <container-name>
to get container specific logs. You should be able to see errors in there.