使用如下命令拉取运行nginx-ui软件
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 \
-v /var/run/docker.sock:/var/run/docker.sock \
-p 8080:80 -p 8443:443 \
uozi/nginx-ui:latest
[root@server etc]# docker images |grep nginx
uozi/nginx-ui latest 3beca7a9f84a 4 days ago 294MB
nginx latest f876bfc1cc63 6 months ago 192MB
[root@server etc]# docker ps |grep nginx
71bf4bb421f1 uozi/nginx-ui:latest "/init" 11 minutes ago Up 11 minutes 0.0.0.0:8080->80/tcp, :::8080->80/tcp, 0.0.0.0:8443->443/tcp, :::8443->443/tcp nginx-uibb27de685cff nginx "/docker-entrypoint.…" 5 months ago Up About an hour 0.0.0.0:80->80/tcp, :::80->80/tcp nginx
[root@server etc]#
访问Nginx-UI开始安装
:http://ip地址:8080/install
登录界面:
http://ip地址:8080/
主界面
Nginx服务器
配置在线修改
终端
日志
日志列表
自我检查
升级
关于