Error response from daemon: unable to find user redisUser: no matching entries in passwd file.
执行 cat /etc/passwd2 .创建容器的 -u 改为iddocker run -it -u user_name --name container_name -d image_name
·
- 执行
cat /etc/passwd
2 .创建容器的 -u 的user_name 改为id(本例是1002)
docker run -it -u user_name --name container_name -d image_name

更多推荐



所有评论(0)