[root@mymachine redisc]# docker run -p 6379:6379 --user myuser redisc
docker: Error response from daemon: linux spec user: unable to find user myuser: no matching entries in passwd file.
but i can become myuser on the host
[root@mymachine redisc]# sudo su myuser
[myuser@mymachine redisc]#
How would i be able to run as myuser in the container?