Difference between revisions of "Docker"

From Wasya Wiki
Jump to: navigation, search
(Troubleshoot)
(View logs)
Line 8: Line 8:
  
 
== View logs ==
 
== View logs ==
  docker logs [OPTIONS] CONTAINER
+
  docker logs -f CONTAINER

Revision as of 20:50, 24 August 2022

Troubleshoot

Login to a running container

docker exec -it <container_id> /bin/bash
./scripts/login

View logs

docker logs -f CONTAINER