📽️ Subscribe: bit.ly/2UnOdgi
🖥️ Become a VIP member: bit.ly/3dItQU9
00:46 Reminders: images & containers
02:17 docker without sudo
03:27 managing containers with the docker CLI
14:40 tips: delete all docker containers
16:15 conclusion & summary
The life cycle of a Docker container consists of the following steps:
Creation: when a Docker container is created, it starts from a base image. The image contains the instructions for configuring the container and the dependencies needed to run the application. Images can be created from scratch or from existing images, adding application-specific modifications.
Startup: Once the container is created, it can be started using the docker start command. The start process launches the application contained in the container and makes it accessible.
Run: Once the container is started, it runs the application or services for which it was created. During this stage, the container can communicate with other containers or the host.
Shutdown: When a container is shut down, the application within it is also shut down. This can be done manually using the docker stop command, or automatically when the container has finished doing its job.
Delete: Once the container is stopped, it can be deleted using the docker rm command. Deleting the container also deletes all changes made to the container's file system.
Slides & Docker Codes: gitlab.com/xav...
Summary of over 1450 videos:
- on github: bit.ly/2P5x8Xj
- on gitlab: bit.ly/2BvYouO
➡️ ➡️ You want to encourage me like the video, comment on it and subscribe! 😃
26 сен 2024