Command Description Docker Pull
Command Description Docker Pull
docker pull <image-name>:<tag> Pulls the image from the docker hub
docker history <image name>:<tag> Used to inspect the layers of the image.
docker run --name <container_name> -p <host_port : Create the container with the specified name and
container_port> -d <image_name> assign the specified port from the image.
Command Description
docker volume create my-vol Create your Volume for Persistent Data
Docker container run -d --name afridi_app –p 5020:80 aamirpinger/flag (to check on browser type
localhost:5010 and then enter it will shows your work that u have done it)
2. Build image
Docker build –t aamirpinger/node-app-image . ( it will create new image