You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The `-g "daemon off;"` directive is used in the Dockerfile CMD to keep the Nginx daemon running after container creation. If this directive is added to the nginx.conf, then the `docker run` should explicitly invoke `openresty` (or `nginx` for `windows` images):
323
318
```
324
-
docker run [options] openresty/openresty:bionic openresty
319
+
docker run [options] openresty/openresty:noble openresty
325
320
```
326
321
327
322
Invoke another CMD, for example the `resty` utility, like so:
328
323
```
329
-
docker run [options] openresty/openresty:bionic resty [script.lua]
324
+
docker run [options] openresty/openresty:noble resty [script.lua]
330
325
```
331
326
332
327
*NOTE* The `alpine` images do not include the packages `perl` and `ncurses`, which is needed by the `resty` utility.
0 commit comments