Skip to main content

Docker Help


docker ps                         # see a list of running containers
docker ps -a # see a list of running and stopped containers

Attach to a Container

docker exec -it <id or name> <command>          # attach to a container with a command
docker exec -it immich_server sh
docker exec -it immich_microservices sh
docker exec -it immich_machine_learning sh


docker logs <id or name>          # see the logs for a specific container (by id or name)

docker logs immich_server
docker logs immich_microservices
docker logs immich_machine_learning
Follow a log

Adding --follow to a docker logs <id or name> command will stream new logs, instead of immediately exiting, which is often useful for debugging.