Posts

Showing posts with the label docker container

15 Docker Command Tricks every DevfOps Engineer Should know

Image
  Docker container command Tips & Tricks Here my idea is to use the Unix/Linux 'alias' command for most those common docker container,   network, volume sub- commands to form as shorten to give you more productivity while working on developing the docker images and playing around the newly constructing containers. This trick work on bash, zsh shells. Improve Productivity with smart work alias for Docker commands   First examine the docker container listing with the powerful option '--format' docker container ps -s \ --format "table {{.Names}}\t{{.Image}}\t{{.Status}}\t{{.Size}}" docker ps command To get the logs of any applications that runs in containers we can use the following: alias dkrlogs='docker logs' alias dkrlogsf='docker logs -f ' docker logs with alias trick List of the images alias dkri='docker image ls' docker image list alias trick The container list alias dkrcs='docker container ls' d...

Docker Container Concepts

Image
Container Concepts: Steps for Automation Hey! guys this post is about the containers specific commands examining each and the best outputs are collected. Hope this could help you in preparing automation in docker pipeline CI/CD scripts, and you feel enjoy this exploring post helpful! Docker is a platform for developers and sysadmin to develop, deploy and run applications with containers. The use of Linux containers to deploy applications is called containerization. Docker Container Concepts Containerization is increasingly popular because containers are : Flexible : Even the most complex applications can be containerized. Lightweight : Containers leverage and share the host kernel. Interchangeable : You can deploy updates and upgrades on-the-fly. Portable : You can build locally, deploy to the cloud, and run anywhere. Scalable : You can increase and automatically distribute container replicas. Stackable : You can stack services vertically and on-the-fly. How Image...