D
D
DenZel2020-01-25 16:03:43
linux
DenZel, 2020-01-25 16:03:43

Docker not starting in your namespace?

Hello!
I do according to the official instructions to launch docker in my environment of names:
- create a testuser user, add him to the docker group;
- I configure the launch of the docker daemon in the namespace of the testuser user;
dockerd --userns-remap="testuser:testuser";
- I restart the daemon:
service docker restart - I run docker run hello-world
to check the namespace - I look at the contents of ls -ld /var/lib/docker/231072.231072/ and it's empty ....... Tell me what I'm doing wrong? Why a folder for the user environment is created, but docker is still running in its old environment

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question