docker image pull <image>
docker image ls
docker image ls
docker container run <image>
docker container run <image> --name <containerName>
docker container run <image> --name <containerName>
docker container run <image> -d
docker container run <image> -p HostPort:ContainerPort
docker container run -it <image> command
docker container run -it <image> command
docker container
docker container start <container>
docker container start -at <container>
docker container start -at <container>
docker container exec -it <container> command
docker container top
Would the following two commands create a port conflict error with each other?
NO ? Why ?
Each of below lines creates own containers
NO ? Why ?
Each of below lines creates own containers
docker container run -p 80:80 -d nginx
docker container run -p 8080:80 -d nginx
No comments:
Post a Comment