Комментарии:
docker run -it -u pete ubuntu /bin/bash
docker: Error response from daemon: unable to find user pete: no matching entries in passwd file.
Thanks a lot. It was very useful for me
Ответить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.
Ответить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?
Ответитьjust wow
ОтветитьI was looking for the Docker File Instruction USER
Ответить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?
ОтветитьNice quick demo!
One question though: why can you simply "log in" as user pete into the container without requiring to enter any password?
quick & easy, thanks buddy :-)
Ответитьyour all 7 min is useful .. thank you..
Ответитьcan we map local users into a container?
Ответить