Docker运行artifactory-cpp-ce权限问题解决

  • 时间:
  • 来源:互联网
  • 文章标签:


创建目录:

sudo mkdir -p /jfrog/artifactory

sudo chown -R 777 /jfrog/

运行jfrog/artifactory-cpp-ce出错:

/var/opt/jfrog/artifactory DOES NOT have proper permissions for user 'artifactory' (id 1030)
Directory: /var/opt/jfrog/artifactory, permissions: 755, owner: root, group: root
Mounted directory must have read/write permissions for user 'artifactory' (id 1030)

 

解决:

chown -R 1030:1030 /jfrog/artifactory

再运行成功

本文链接http://www.taodudu.cc/news/show-83109.html