Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Nginx无法安装 #13

Open
min152 opened this issue May 12, 2024 · 10 comments
Open

Nginx无法安装 #13

min152 opened this issue May 12, 2024 · 10 comments

Comments

@min152
Copy link

min152 commented May 12, 2024

宝塔啥都没安装刚想安装Nginx就提示这个了,是我docker设置有问题吗?

屏幕截图 2024-05-12 220522

@AlanWang2333
Copy link

这个镜像不是好几年前的吗,你还在用啊

@min152
Copy link
Author

min152 commented May 14, 2024

主要是btpanel这镜像没法安装,选完映像点击下一步就直接卡死 。PC18就进不去面板

@AlanWang2333
Copy link

你那个图片上不是,写着空间不足吗,我现在也在安装1panel,刚找到教程,根据官方的fresh最干净的版本自己写了一个compose,你试试能不能用,可以加我Q2137685311,我也在安装
version: "3.3"
services:
baota:
restart: unless-stopped
container_name: baota
ports:
- 8888:8888
- 7722:22
- 77443:443
- 7780:80
- 888:888
volumes:
- /mnt/diskA/docker/baota/website_data:/www/wwwroot
- /mnt/diskA/docker/baota/mysql_data:/www/server/data
- /mnt/diskA/docker/baota/vhost:/www/server/panel/vhost
image: btpanel/baota:fresh
shm_size: 1g

@min152
Copy link
Author

min152 commented May 14, 2024

好的,谢谢

@min152
Copy link
Author

min152 commented May 14, 2024

刚刚试着可以用指令安装btpanel,虽然他提示有警告,但是能进面板也能装东西

@AlanWang2333
Copy link

我刚刚测了,不能用,应该是我在宿主机里影射了目录,所以目录是空的,得先做一个test容器,把里面的目录复制出来,但是我还没测等我改一改

@min152
Copy link
Author

min152 commented May 14, 2024

把错误信息放到文心一言里面,它能分析错误信息,然后他教你怎么修复,你可以试试

@AlanWang2333
Copy link

AlanWang2333 commented May 14, 2024

能用,把容器里的www目录复制出来,然后挂载卷就没问题了docker cp docker-baota:/www /mnt/diskA/docker/baota/www,这个是8.05的,里面收费还挺多的,等我也安装个7.7.0,不过得找个开心版

@min152
Copy link
Author

min152 commented May 14, 2024

我用的不多,大部分收费的我都不用

@AlanWang2333
Copy link

docker版的宝塔的ssh不能用,好像得复制私钥进去,面板里面的ssh 还有错误
ModuleNotFoundError: No module named 'pandas'
另外,别在人家issue里面聊天,我都给你qq了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants