![]() If not found in cache, it looks to the default image repo on Dockerhub.Looked for image called nginx in image cache.Naming Containers $ docker container run -d -p 80:80 -name nginx-server nginx Shorthand $ docker container run -d -p 80:80 nginx WORKING WITH CONTAINERS Create an run a container in foreground $ docker container run -it -p 80:80 nginxĬreate an run a container in background $ docker container run -d -p 80:80 nginx Show info like number of containers, etc $ docker info Docker Commands, Help & Tips Show commands & management commands $ docker
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |