在Mac的docker中,装了宝塔报错了,请帮忙看一下:
以下是操作步骤:- //先安装docker
- brew install --cask --appdir=/Applications docker
- //拉取ubuntu镜像
- docker pull ubuntu
- //运行容器
- docker run -i -t -d --name baota -p 20:20 -p 21:21 -p 80:80 -p 443:443 -p 888:888 -p 8888:8888 -p 3306:3306 --privileged=true -v /Users/yangxinmin/Applications/baota:/www ubuntu
- //进入容器
- docker exec -it baota(或容器id) /bin/bash
- apt update
- apt upgrade
- //安装gcc
- apt install build-essential
- apt install wget curl
- curl -sSO http://download.bt.cn/install/install_panel.sh && bash install_panel.sh
复制代码 重新拉容器安装,还是报错:
- Building wheel for PyNaCl (PEP 517) ... error
- <font color="#ff0000"> ERROR: Command errored out with exit status 1:</font>
- <font color="#ff0000"> command: /www/server/panel/pyenv/bin/python3.7 /www/server/panel/pyenv/lib/python3.7/site-packages/pip/_vendor/pep517/in_process/_in_process.py build_wheel /tmp/tmplgxgbxjp
- cwd: /tmp/pip-install-97yghvt6/pynacl_480211292da24eaebfeac201a6c4887e
- Complete output (743 lines):
- running bdist_wheel
- running build
- running build_py
- creating build
- creating build/lib.linux-aarch64-3.7
- creating build/lib.linux-aarch64-3.7/nacl</font>
复制代码- chmod: changing permissions of '/www/server/panel/BT-Panel': Operation not permitted
- chmod: changing permissions of '/www/server/panel/BT-Task': Operation not permitted
- chmod: cannot access '/www/server/panel/BTPanel': Operation not permitted
复制代码
|
|