Docker container overview and commands
Manoj Kumar
Principal Consultant | BFSI |AWS Certified Solutions Architect|Core Java | J2EE | Spring Boot| Microservice | Elasticsearch | Redis | Kafka | OAuth2 | DevOps | AWS Cloud | Kubernetes | Certified ACTICO | Security Audit
I take this opportunity to explain Docker in the most straightforward way. In this blog, the following concepts will be covered:
?Why is Docker needed : Docker is a containerization platform that packages your application and all its dependencies together in the form of a docker container to ensure that your application works seamlessly in any environment.
What is Docker: Docker is considered a popular application containerization platform in the IT world.?This open-source software allows developers to easily combine applications with?dependencies, operating systems, libraries, and other?run-time-related resources?in containers and automatically deploy them on any infrastructure as native-cloud architectures and multi-cloud environments are becoming popular for most organizations.
How does Docker work: Docker Engine is the main component of the Docker ecosystem.?The Docker engine creates a server-side daemon and a client-side CLI.?The server-side daemon stores the Containers, images, data, and network images while the client-side CLI allows you to communicate with the server using APIs.?Docker Containers are called Dockerfiles.
Features/Benefits: Docker provides a variety of benefits to organizations.?Here are some of the key benefits provided by this tool.
Docker Commands: Following are the commands which are being covered
Usages: docker --version
Usages: docker pull <image name>
Usages: docker run -it -d <image name>
Usages: docker ps
Usages: docker ps -a
领英推荐
Usages: docker exec -it <container id> bash
Usages: docker stop <container id>
Usages: docker kill <container id>
Usage: docker commit <conatainer id> <username/imagename>
Usage: docker login
Usage: docker push <username/image name>
Usage: docker images
Usage: ?docker rm <container id>
Usage: docker rmi <image-id>
Usage: docker build <path to docker file>
--
1 年Register for our latest webinar on Managing applications with kubernetes.?? Registration Link: https://lnkd.in/ggysxK5g #docker #kubernetes #course #registernow