[GH-ISSUE #449] docker run error "settings.Setup: open /etc/nginx-ui/app.ini: no such file or directory" #3357

Closed
opened 2026-02-28 11:55:44 +03:00 by kerem · 1 comment
Owner

Originally created by @aio10086 on GitHub (Jul 24, 2024).
Original GitHub issue: https://github.com/0xJacky/nginx-ui/issues/449

docker run -dit --restart=always -e TZ=Asia/Shanghai -p 18080:80 -p 18443:443 uozi/nginx-ui:latest

HOSTNAME=54d37bc8f6fd
HOME=/root
PKG_RELEASE=2bookworm
NGINX_UI_OFFICIAL_DOCKER=true
TERM=xterm
NGINX_VERSION=1.27.0
PATH=/command:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
NJS_VERSION=0.8.4
NJS_RELEASE=2
bookworm
DEBIAN_FRONTEND=noninteractive
PWD=/run/s6-rc:s6-rc-init:cIcMmp/servicedirs/nginx-ui
TZ=Asia/Shanghai
2024/07/24 17:19:00 settings.Setup: open /etc/nginx-ui/app.ini: no such file or directory

Originally created by @aio10086 on GitHub (Jul 24, 2024). Original GitHub issue: https://github.com/0xJacky/nginx-ui/issues/449 docker run -dit --restart=always -e TZ=Asia/Shanghai -p 18080:80 -p 18443:443 uozi/nginx-ui:latest HOSTNAME=54d37bc8f6fd HOME=/root PKG_RELEASE=2~bookworm NGINX_UI_OFFICIAL_DOCKER=true TERM=xterm NGINX_VERSION=1.27.0 PATH=/command:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin NJS_VERSION=0.8.4 NJS_RELEASE=2~bookworm DEBIAN_FRONTEND=noninteractive PWD=/run/s6-rc:s6-rc-init:cIcMmp/servicedirs/nginx-ui TZ=Asia/Shanghai 2024/07/24 17:19:00 settings.Setup: open /etc/nginx-ui/app.ini: no such file or directory
kerem 2026-02-28 11:55:44 +03:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@0xJacky commented on GitHub (Jul 24, 2024):

Map a directory for the Nginx UI configuration to the container, you can use the following command:

docker run -dit \
  --name=nginx-ui \
  --restart=always \
  -e TZ=Asia/Shanghai \
  -v /mnt/user/appdata/nginx:/etc/nginx \
  -v /mnt/user/appdata/nginx-ui:/etc/nginx-ui \
  -p 8080:80 \
  -p 8443:443 \
  uozi/nginx-ui:latest
<!-- gh-comment-id:2247350464 --> @0xJacky commented on GitHub (Jul 24, 2024): Map a directory for the Nginx UI configuration to the container, you can use the following command: ```bash docker run -dit \ --name=nginx-ui \ --restart=always \ -e TZ=Asia/Shanghai \ -v /mnt/user/appdata/nginx:/etc/nginx \ -v /mnt/user/appdata/nginx-ui:/etc/nginx-ui \ -p 8080:80 \ -p 8443:443 \ uozi/nginx-ui:latest ```
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
starred/nginx-ui#3357
No description provided.