Docker

From Wasya Wiki
Revision as of 19:18, 7 September 2022 by Piousbox (Talk | contribs)

Jump to: navigation, search

Troubleshoot

Login to a hosted mysql

 mysql -h localhost -P 3306 --protocol=tcp -u root -p

Login to a running container

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

View logs

docker logs -f <container-id>