-
-
Notifications
You must be signed in to change notification settings - Fork 603
请教一下自己构建nginx-ui镜像的步骤 #973
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
Comments
但是要用 |
我不太理解,构建好镜像不是直接使用么? |
感觉是在说直接安装的方法 |
我觉得你可以先研究一下怎么自己构建 nginx 的镜像,我这个 PR 合并之后 #977 ,直接映射 docker.sock 再改个配置就可以管外部容器里的 nginx 了 |
步骤是不是如下:
1、获取https://github.com/0xJacky/uozi-docker.git 源码,
2、把https://github.com/0xJacky/uozi-docker/blob/main/nginx-ui-base/Dockerfile 里面Dockerfile文件的
FROM nginx:latest
替换成自己加了插件的nginx镜像,比如FROM nginx-added-models:latest
,构建基础镜像(比如叫nginx-ui-base-added-models:latest
)3、获取源码 https://github.com/0xJacky/nginx-ui.git
4、修改 Dockerfile文件中的
FROM uozi/nginx-ui-base:latest
为FROM nginx-ui-base-added-models:latest
5、构建最终镜像
The text was updated successfully, but these errors were encountered: