Docker is a set of platform as a service products that use OS-level virtualization to deliver software in packages called containers. Containers are isolated from one another and bundle their own software, libraries and configuration files; they can communicate with each other through well-defined channels.
Docker images – Will present the images available
Docker ps – To check the containers running
Docker ps -a– To check every container running including hidden files
Docker pull – to pull the image from docker hub
Docker run – to run the image live directly from dockerhub
docker exec -it <container id> bash > to access the running container
docker stop > stops a running container
docker kill > kills container by stopping execution. stop gives time to shut down gracefully
docker commit <container id><username/imagename> > creates new image of an edited container on local system
docker login
docker images
docker tag 4bb46517cac3 danteegan/daniel-teegan-eng-67:First_commit_docker (Use image ID not container ID)
4) Now to push we use the following command. It is docker push then your docker account name followed by the repo you want to push too
docker push danteegan/daniel-teegan-eng-67
docker run -d -p 90:80 bariallali/bari-docker-eng67:Second_commit_adding_nginx_image