败犬 刘 点击容器菜单,进入之后选择镜像,然后点击拉取镜像,输入 1panel/openresty:1.27.1.2-2-3-focal,等待拉取完成。拉取完成后再次安装 OpenResty ,在安装界面中有一个“拉取镜像”的选项,取消勾选就会使用本地的镜像,注意一下观察是否是当前拉取的版本,我这里最新就是 1.27.1.2-2-3。 如果仍然拉取失败可以在当前的容器菜单下点击配置,在里面修改 docker 镜像加速地址。
败犬 刘 镜像拉取 镜像配置 https://dockerpull.pw https://dockerhub.icu https://hub.rat.dev https://register.librax.org https://docker-0.unsee.tech https://docker-cf.registry.cyou
败犬 刘 要先拉取镜像 1panel/openresty:1.27.1.2-2-3-focal ,拉取成功后去应用商店里面找到 openresty 进入安装界面,然后取消勾选“拉取镜像”,不出意外就能安装成功。前提是本地得有 openresty 的镜像,没有就会失败。 你需要确认本地是否有 openresty 的镜像,点击容器,进入之后点击镜像,查看镜像列表中是否有 1panel/openresty:1.27.1.2-2-3-focal ,可通过标签就行查找,没有的话点击拉取镜像进行拉取。
bestsong 我也遇到了同样问题,先在容器中直接拉取镜像成功,再到应用中安装,取消安装时的“拉取镜像”选项,依旧一直是安装中,始终无法成功; 1panel版本:v1.10.32-lts 安装的OpenResty版本:1.27.1.2-2-3-focal和1.27.1.2-2-1-focal都不行; 安装的日志如下:time="2025-11-20T09:26:51+08:00" level=warning msg="The \"RESTY_CONFIG_OPTIONS_MORE\" variable is not set. Defaulting to a blank string." time="2025-11-20T09:26:51+08:00" level=warning msg="The \"RESTY_ADD_PACKAGE_BUILDDEPS\" variable is not set. Defaulting to a blank string." time="2025-11-20T09:26:51+08:00" level=warning msg="The \"CONTAINER_PACKAGE_URL\" variable is not set. Defaulting to a blank string." service "openresty" refers to undefined volume www: invalid compose project