Docker Container Tutorial #6 Docker Container Users

Docker Container Tutorial #6 Docker Container Users

Peter Fisher

7 лет назад

24,587 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

@DevenSitapara
@DevenSitapara - 03.07.2022 10:34

docker run -it -u pete ubuntu /bin/bash

docker: Error response from daemon: unable to find user pete: no matching entries in passwd file.

Ответить
@priyankagoel1295
@priyankagoel1295 - 06.08.2021 17:01

Thanks a lot. It was very useful for me

Ответить
@MrBrandt087
@MrBrandt087 - 24.03.2021 21:28

Can one create an extra user in the dockerfile? For instance I run an app and filebeats, filebeats must run as user filebeat but my other app run on his usual user, I assume root.

Ответить
@user-so3ny4yl7j
@user-so3ny4yl7j - 13.03.2021 05:02

I have run docker to mount the persistent volume, but the permissions of the host and the mysql container are inconsistent, which makes it impossible to write mysql data to the mount volume. How can I solve this problem?

Ответить
@cloudsystem3740
@cloudsystem3740 - 25.12.2020 06:29

just wow

Ответить
@premkumarwaghmare4059
@premkumarwaghmare4059 - 04.10.2020 12:56

I was looking for the Docker File Instruction USER

Ответить
@RaineWilder
@RaineWilder - 06.08.2020 08:05

Question: How is it that the user pete exists in the container after the container has stopped? From what I've read so far a container is immutable and doesn't save any changes to the filesystem. My understanding was that the user needs to be added in the Dockerfile instructions when an image is built. I guess I misunderstood the container immutability. Would you care to explain?

Ответить
@dominikkaspar6254
@dominikkaspar6254 - 26.05.2020 00:26

Nice quick demo!
One question though: why can you simply "log in" as user pete into the container without requiring to enter any password?

Ответить
@JulienTeyteau
@JulienTeyteau - 10.03.2019 01:37

quick & easy, thanks buddy :-)

Ответить
@nasamind
@nasamind - 20.04.2018 12:55

your all 7 min is useful .. thank you..

Ответить
@test89267
@test89267 - 07.12.2017 23:10

can we map local users into a container?

Ответить