[GH-ISSUE #2809] Error in Install Panel in docker #1861

Closed
opened 2026-10-31 20:21:35 +07:00 by bsakaguchi · 8 comments
Owner

Originally created by @windandbreeze on GitHub (Mar 21, 2025).
Original GitHub issue: https://github.com/MHSanaei/3x-ui/issues/2809

Describe the bug

I installed 3x-ui in Docker according to the instructions. But when I entered the container to install the panel, an error occurred

/usr/bin/x-ui:  line 151: curl: command not found
/usr/bin/x-ui:  line 352: systemctl: command not found
[ERR] panel Failed to start, Probably because it takes longer than two seconds to start, Please check the log information later

It seems to be a missing command, but the command I am using is' docker compose up - d 'and I am using latest image. Meanwhile, it seems that the image is based on Alpine, why does x-ui use "systemctl"?. Is it because the script did not recognize the arch of the container, The script didn't show the arch.

Screenshots

Image

Image

Originally created by @windandbreeze on GitHub (Mar 21, 2025). Original GitHub issue: https://github.com/MHSanaei/3x-ui/issues/2809 **Describe the bug** I installed 3x-ui in Docker according to the instructions. But when I entered the container to install the panel, an error occurred ``` /usr/bin/x-ui: line 151: curl: command not found /usr/bin/x-ui: line 352: systemctl: command not found [ERR] panel Failed to start, Probably because it takes longer than two seconds to start, Please check the log information later ``` It seems to be a missing command, but the command I am using is' docker compose up - d 'and I am using latest image. Meanwhile, it seems that the image is based on Alpine, why does x-ui use "systemctl"?. Is it because the script did not recognize the arch of the container, The script didn't show the arch. **Screenshots** ![Image](https://github.com/user-attachments/assets/1594f96b-21aa-4c8c-b7df-e246c1024acb) ![Image](https://github.com/user-attachments/assets/fe5bb0df-8301-4ceb-98a4-7742e3841ad4)
bsakaguchi 2026-10-31 20:21:35 +07:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@MHSanaei commented on GitHub (Mar 21, 2025):

You can't use that menu on docker

<!-- gh-comment-id:2743328230 --> @MHSanaei commented on GitHub (Mar 21, 2025): You can't use that menu on docker
Author
Owner

@windandbreeze commented on GitHub (Mar 21, 2025):

You can't use that menu on docker

so how i can change the panel password an port?

<!-- gh-comment-id:2743337626 --> @windandbreeze commented on GitHub (Mar 21, 2025): > You can't use that menu on docker so how i can change the panel password an port?
Author
Owner

@chienxx commented on GitHub (Mar 22, 2025):

I have the same question. If i can't use menu in docker container,how can i install panel?

<!-- gh-comment-id:2745030705 --> @chienxx commented on GitHub (Mar 22, 2025): I have the same question. If i can't use menu in docker container,how can i install panel?
Author
Owner

@windandbreeze commented on GitHub (Mar 22, 2025):

I have the same question. If i can't use menu in docker container,how can i install panel?

check your serverIP+2053,it seems once the container start,the panel also start even though the script show panel not installed

<!-- gh-comment-id:2745145444 --> @windandbreeze commented on GitHub (Mar 22, 2025): > I have the same question. If i can't use menu in docker container,how can i install panel? check your serverIP+2053,it seems once the container start,the panel also start even though the script show panel not installed
Author
Owner

@chienxx commented on GitHub (Mar 22, 2025):

(0x2a354e0,0xc00016c700)
INFO - Web server running HTTP on [::]:2053
INFO - XRAY: infra/conf/serial: Reading config: &{Name:bin/config.json Format:json}
WARNING - XRAY: core: Xray 24.12.18 started

Looking at docker logs it starts fine, but access to ip+2053 doesn't respond, ufw has port 2053 open. Is the network mode of your docker startup host?

<!-- gh-comment-id:2745153457 --> @chienxx commented on GitHub (Mar 22, 2025): ``` (0x2a354e0,0xc00016c700) INFO - Web server running HTTP on [::]:2053 INFO - XRAY: infra/conf/serial: Reading config: &{Name:bin/config.json Format:json} WARNING - XRAY: core: Xray 24.12.18 started ``` Looking at docker logs it starts fine, but access to ip+2053 doesn't respond, ufw has port 2053 open. Is the network mode of your docker startup host?
Author
Owner

@windandbreeze commented on GitHub (Mar 22, 2025):

(0x2a354e0,0xc00016c700)
INFO - Web server running HTTP on [::]:2053
INFO - XRAY: infra/conf/serial: Reading config: &{Name:bin/config.json Format:json}
WARNING - XRAY: core: Xray 24.12.18 started

Looking at docker logs it starts fine, but access to ip+2053 doesn't respond, ufw has port 2053 open. Is the network mode of your docker startup host?

yeah,the default mode is host. i just use the docker guide, git clone→cd 3x-ui → docker compose up -d,then ip:2053 is ok, of course the ufw has allowed 2053.

<!-- gh-comment-id:2745179141 --> @windandbreeze commented on GitHub (Mar 22, 2025): > ``` > (0x2a354e0,0xc00016c700) > INFO - Web server running HTTP on [::]:2053 > INFO - XRAY: infra/conf/serial: Reading config: &{Name:bin/config.json Format:json} > WARNING - XRAY: core: Xray 24.12.18 started > ``` > > Looking at docker logs it starts fine, but access to ip+2053 doesn't respond, ufw has port 2053 open. Is the network mode of your docker startup host? yeah,the default mode is host. i just use the docker guide, git clone→cd 3x-ui → docker compose up -d,then ip:2053 is ok, of course the ufw has allowed 2053.
Author
Owner

@ZhigangQi commented on GitHub (Mar 27, 2025):

I have same problem. When i run the docker ,i can not setup the user in docker. What's the user and passwd default?

<!-- gh-comment-id:2756917136 --> @ZhigangQi commented on GitHub (Mar 27, 2025): I have same problem. When i run the docker ,i can not setup the user in docker. What's the user and passwd default?
Author
Owner

@chienxx commented on GitHub (Mar 27, 2025):

@ZhigangQi 在docker容器里执行不了命令,容器启动后默认运行在宿主机的2053端口,直接通过ip:2053访问面板,默认用户名密码:admin/admin

<!-- gh-comment-id:2757062313 --> @chienxx commented on GitHub (Mar 27, 2025): @ZhigangQi 在docker容器里执行不了命令,容器启动后默认运行在宿主机的2053端口,直接通过ip:2053访问面板,默认用户名密码:admin/admin
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
MHSanaei/3x-ui#1861
No description provided.