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

Posted 力为

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了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

再运行成功

以上是关于Docker运行artifactory-cpp-ce权限问题解决的主要内容,如果未能解决你的问题,请参考以下文章

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

docker外部运行程序

如何在docker中运行electron

Docker基础:Docker运行原理笔记

docker 运行jenkins及vue项目与springboot项目(四.docker运行nginx)

docker运行Spring Cloud使用外部IP