Docker 1st Assignment- Sagar
Limited Time Offer!
For Less Than the Cost of a Starbucks Coffee, Access All DevOpsSchool Videos on YouTube Unlimitedly.
Master DevOps, SRE, DevSecOps Skills!
- Top 10 commands with 1 example of using docker container:
- docker attach: Attach local standard input, output, and error streams to a running container
- docker create: Create a new container
- docker exec: Run a command in a running container
- docker inspect: Return low-level information on Docker objects
- docker kill: Kill one or more running containers
- docker port: List port mappings or a specific mapping for the container
- docker rm: Remove one or more containers
- docker restart: Restart one or more containers
- docker start: Start one or more stopped containers
10.docker stop: Stop one or more running containers
- 5 commands with 1 example of using docker image
- docker build: Build an image from a Dockerfile
- docker images: List images
- docker save: Save one or more images to a tar archive
- docker commit: Create a new image from a container’s changes
- docker rmi: Remove one or more images
- 5 commands with 1 example of using docker registry
- docker login: Log in to a Docker registry
- docker logout: Log out from a Docker registry
- docker pull: Pull an image or a repository from a registry
- docker push: Push an image or a repository to a registry
- docker search: Search the Docker Hub for images