Vip Call Girls Noida ➡️ Delhi ➡️ 9999965857 No Advance 24HRS Live
Docker introduction
1. Build, Ship, and Run Any App, Anywhere
Dilanka Somarathne
www.gihandilanka.com
2. What is docker?
Docker is an open platform for developing, shipping, and
running applications.
Docker allows you to pack an application with all of its
dependencies into a standardized unit for software
development.
9. Docker benefits
● Fast (deployment, migration, restarts)
● Secure
● Lightweight (save disk & CPU)
● Open Source
● Portable software
● Developers can work in same environment.
● Simplify DevOps
● Version control capabilities
13. The Dockerfile
A Dockerfile is a text document that contains all the
commands a user could call on the command line to create
an image.
● Dockerfile with inline comments just for education
● Dockerfile reference on docker docs
14. Common docker commands
// General info
man docker // man docker-run
docker help // docker help run
docker info
docker version
docker network ls
// Images
docker images // docker [IMAGE_NAME]
docker pull [IMAGE] // docker push [IMAGE]
// Containers
docker run
docker ps // docker ps -a, docker ps -l
docker stop/start/restart [CONTAINER]
docker stats [CONTAINER]
15. Docker compose (docker-compose.yml)
Docker Compose. Compose is a tool for defining and
running multi-container Docker applications. With Compose,
you use a Compose file to configure your application's
services. Then, using a single command, you create and start
all the services from your configuration.