How do you create a docker image?
docker run -p localport:conatinerport {-d optional} {–name optional} imagename
How to detach the running docker from terminal?
By adding -d
docker run -p -d localport:conatinerport {-d optional} {–name optional} imagename
How do you get a new image from repo in docker
Docker pull nameofimage
How to build an image on docker
docker build -t{tagname} .
What is docker network?
Docker networking enables a user to link a Docker container to as many networks as he/she requires. Docker Networks are used to provide complete isolation for Docker containers.
Explain the steps in dockerization
How to push a docker image to dokcer hub?