DevOps: Tools. Docker
Docker is a app container platform, which makes use of linux cgroups and network namespaces.
Main benefits:
Cross platform, supports multiple cloud platforms and orchestration systems
Easy to manage
Efficient, delivers application with its environment
Provides high mobility for apps
Provides isolation
Docker operations
Create a container using Dockerfile
docker build -t image-name /path-to/contextRun a container
docker run -it -p 8080 –v volume-name:/path/to/mount image-nameGet list of running containers with ports
docker psKill a container
docker kill container-idRemove image
Docker basic troubleshooting
Examine a list of images
Examine running list
Get container logs
Execute a command (run a shell) inside
Check networks, proxy settings (if needed)
Last updated
Was this helpful?