Docker image for openresty based on Ubuntu 16.04 LTS
189
Docker image for openresty based on Ubuntu 16.04 LTS.
The default command copies all the config files under the NGINX_CUSTOM_CONF_DIR, which defaults to /nginx-conf, to the openresty's config directory at /usr/local/openresty/nginx/conf. Therefore, mount your host directory that contains all the config files to override the default configuration.
--mount flag
docker run -d --mount type=bind,source=<CONFIG_DIR_ON_HOST>,destination=/nginx-conf,readonly moudixtc/openresty
-v flag
docker run -d -v <CONFIG_DIR_ON_HOST>:/nginx-conf:ro moudixtc/openresty
Content type
Image
Digest
Size
83.5 MB
Last updated
almost 9 years ago
docker pull moudixtc/openresty