Docker best practices practices

Within the framework of this article, the most frequent antipatterns in the design of docker images will be considered, and the optimal solution for each will be presented. Using a redundant base image One of the common antipatterns when using Docker is the use of a redundant base image. # Bad FROM ubuntu The optimal solution is to use the most lightweight base image, which contains only the necessary components, which can act as alpine....

October 8, 2023 · 3 min · OldTyT

Docker for the youngest

To consolidate the material, it is recommended to execute the commands specified in the article Introduction Docker is a platform for developing, delivering, and running applications in containers. Containers are lightweight and isolated environments that allow you to run applications on any operating system without the need for additional dependencies. In this article, we will explore the basics of Docker and demonstrate how to use it for application development. Installing Docker Before you can start using Docker, you need to install it on your system....

October 8, 2023 · 2 min · OldTyT