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

使用docker部署trojan报错启动trojan失败! #827

Open
Fuego-Zero opened this issue Nov 8, 2023 · 7 comments
Open

使用docker部署trojan报错启动trojan失败! #827

Fuego-Zero opened this issue Nov 8, 2023 · 7 comments

Comments

@Fuego-Zero
Copy link

使用docker run -it -d --name trojan --net=host --restart=always --privileged jrohy/trojan init指令创建容器,进入容器以后输入trojan开始初始化,但是安装过程中报错启动trojan失败!

@Jrohy
Copy link
Owner

Jrohy commented Nov 9, 2023

什么操作系统和架构的

@Fuego-Zero
Copy link
Author

什么操作系统和架构的

6.1.8-1.el7.elrepo.x86_64 #1 SMP PREEMPT_DYNAMIC Mon Jan 23 12:57:27 EST 2023 x86_64 x86_64 x86_64 GNU/Linux

@perfectbullet
Copy link

相同的问题

root@user-pc:/data2/softwares/docker-trojan# docker exec -it trojan bash
[root@user-pc /]# trojan
请选择: 1
1.启动trojan
2.停止trojan
3.重启trojan
4.查看trojan状态
5.查看trojan日志
6.修改trojan端口
7.切换为trojan

请选择: 1
启动trojan失败!
欢迎使用trojan管理程序

系统是:
(NLP) root@user-pc:/data2/NLP_work/bert-base-chinese# uname -a
Linux user-pc 5.4.18-85-generic #74-KYLINOS SMP Fri Mar 24 11:20:19 UTC 2023 aarch64 aarch64 aarch64 GNU/Linux
(NLP) root@user-pc:/data2/NLP_work/bert-base-chinese# cat /etc/os-release
NAME="Kylin"
VERSION="银河麒麟桌面操作系统V10 (SP1)"
VERSION_US="Kylin Linux Desktop V10 (SP1)"
ID=kylin
ID_LIKE=debian
PRETTY_NAME="Kylin V10 SP1"
VERSION_ID="v10"
HOME_URL="http://www.kylinos.cn/"
SUPPORT_URL="http://www.kylinos.cn/support/technology.html"
BUG_REPORT_URL="http://www.kylinos.cn/"
PRIVACY_POLICY_URL="http://www.kylinos.cn"
VERSION_CODENAME=kylin
UBUNTU_CODENAME=kylin
PROJECT_CODENAME=V10SP1
KYLIN_RELEASE_ID="2303"
(NLP) root@user-pc:/data2/NLP_work/bert-base-chinese#

@Winspain
Copy link

ubuntu22,docker同样的问题,日志没有任何打印

@swvincent8498
Copy link

centos7系统,使用docker版本,也是同样问题,web页面和后台都没日志打印。

@swvincent8498
Copy link

5dc7303f629933b656eca0bcb317621
98742793cc55ee4abf36803fa3bdf55
d03f77d05cf2af91e33b58427e36ca3
宿主机centos7系统,使用docker版本,web页面和后台都没日志打印。

@agassiz
Copy link

agassiz commented Apr 20, 2024

看看这个 docker 版本的,试试这个 https://hub.docker.com/r/agassiz/trojan 镜像,可以解决你们说的问题

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

6 participants