Difference between revisions of "Docker"

From Wasya Wiki
Jump to: navigation, search
(Login to a running container)
(Troubleshoot)
Line 6: Line 6:
  
 
  ./scripts/login
 
  ./scripts/login
 +
 +
== View logs ==
 +
docker logs [OPTIONS] CONTAINER

Revision as of 20:49, 24 August 2022

Troubleshoot

Login to a running container

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

View logs

docker logs [OPTIONS] CONTAINER