[英]Building cassandra-website with docker yields a python3 permissions error
I am trying to build https://github.com/apache/cassandra-website我正在尝试构建https://github.com/apache/cassandra-website
Python3 is installed, I started the docker daemon, git pull and then run ./run.sh website preview
but it yields the following permissions issue even though I am running as root. Python3 已安装,我启动了 docker 守护程序,git pull 然后运行
./run.sh website preview
,但即使我以 root 身份运行,它也会产生以下权限问题。
[root@localhost cassandra-website]# ./run.sh website preview
Server Docker Engine version: 1.13.1
Executing docker command:
docker run --rm --name website_content -p 5151:5151/tcp -v /root/cassandra-website:/home/build/cassandra-website -v /root/cassandra-website/site-ui/build/ui-bundle.zip:/home/build/ui-bundle.zip -e ANTORA_CONTENT_SOURCES_CASSANDRA_WEBSITE_URL=/home/build/cassandra-website -e ANTORA_UI_BUNDLE_URL=/home/build/ui-bundle.zip apache/cassandra-website:latest preview
container: INFO: Entering preview mode!
container: INFO: Building site.yaml
python3: can't open file './bin/site_yaml_generator.py': [Errno 13] Permission denied
[SOLVED] [解决了]
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.