-
Create Docker Container from image
docker run -it -d --rm --name CONTAINER_NAME IMAGE_NAME
-
Check container running status
docker ps
-
Loging to Container and check the status
docker exec -it CONTAINER_ID bash
-
Get Network IP
docker inspect -f '{{range .NetworkSettings.Networks}}{{.IPAddress}}{{end}}' IMAGE_NAME
Last active
October 23, 2019 21:48
-
-
Save dotku/c2bd7654299099a7ee7a2d9524c99d14 to your computer and use it in GitHub Desktop.
Docker
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment