2023 03 31 Docker commands
- See running images:
docker ps
- See the logs of a container:
docker logs <name-of-container>
- Connect to a DB in docker with command line:
docker exec -it container-name psql -U postgres
- Seeing the networks of the containers:
docker network ls
- Inspecting the containers attached to each network:
docker network inspect