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

再运行成功

你可能感兴趣的:(服务器端)