B
B
BloodVIRUS2021-10-13 11:00:43
ubuntu
BloodVIRUS, 2021-10-13 11:00:43

How to install ubuntu in docker?

Hello! Rather, for educational purposes, I want to run a whole wasp in the docker. Let it be ubuntu. Is it even possible? how to do it? I broke all Google and my head, nothing googles, and all the results are vice versa about how to install docker in ubuntu.
And I have a mess in my head, from docker and docker-compose .. It seems to be theoretically clear, but it seems not.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
S
Saboteur, 2021-10-13
@saboteur_kiev

docker is a container for running a specific application in a specific environment, not for running an operating system. What will the system do in the container? What specific system process do you want to run in docker?
There are virtual machines to run the operating system, and docker - in principle, the point is that a specific process is launched, in an isolated environment, in the current OS.

K
ky0, 2021-10-13
@ky0

If you want to run a whole OS in a container - take some full-fledged one, like LXC. docker for another.

P
Papa, 2021-10-13
Stifflera @PapaStifflera

$ docker pull ubuntu
$ docker run -i -t ubuntu /bin/bash

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question