T
T
Tylen2022-02-18 14:22:57
Docker
Tylen, 2022-02-18 14:22:57

How does docker work?

Hello, the question is simple, but it's not very clear to me how it works. There are python images in the docker hub, they are all different in weight. The question is, what does it mean that the image is based on debian or on alpina. After all, the docker addresses directly to the wasp kernel. What does it mean based on Alpina, I don’t really understand

Answer the question

In order to leave comments, you need to log in

5 answer(s)
V
Vitaly Karasik, 2022-02-18
@Tylen

It's about files. Just like different distributions - the core is the same, the files are different. Due to this - a different package management system, different packages, etc.

A
Alexander Sinitsyn, 2022-02-23
@a_u_sinitsin

I liked it as described here .

N
Nikolay Savelyev, 2022-02-18
@AgentSmith

In this case, docker is a specific assembly of the same python, but on different kernels - debian, ubuntu, etc.

V
Vadim, 2022-02-18
@Viji

In essence, the work of a docker container is the launch of your process / program in a special environment - for example, some service on the backend, the cat runs continuously or intermittently)) and, for example, listens for incoming connections on some port that can be forwarded from Docker Wirth environment to your machine - to the host. In addition, this special environment includes the distribution of this image, for example, the python image already contains the python def version with the main library and the pip package manager. By changing the corresponding base images, you can add new packages, programs, libraries to them - see also Dockerfile.

F
Floydreme, 2022-02-18
@FloydReme

Well explained here

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question