Difference between revisions of "Docker"
From Wasya Wiki
Line 1: | Line 1: | ||
+ | |||
+ | == host internal name == | ||
+ | * host.docker.internal | ||
= Troubleshoot = | = Troubleshoot = |
Revision as of 21:31, 17 January 2023
Contents
host internal name
- host.docker.internal
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>