标签:home mis name with rmi admin 报错 hub com
docker run -v $home/jenkins:/var/jenkins_home --name jenkins8888 -p 8888:8080 -p 50000:50000 jenkins
报错
- 原因 :官方文档 Ensure that /your/home is accessible by the jenkins user in container (jenkins user - uid 1000) or use -u some_other_user parameter with docker run.
解决方案:
groupadd -g 1000 jenkinsUsers
useradd -u 1000 -g 1000 -d /users/jenkins/jenkinsAdmin -m jenkinsAdmin
passwd jenkinsAdmin
chown -R 1000:1000 /home/jenkins
标签:home mis name with rmi admin 报错 hub com
原文地址:https://www.cnblogs.com/eatandsleep/p/12310466.html