[gpt-4] # ustclug/openresty Docker Image
"ustclug/openresty" is a Docker image based on OpenResty, a dynamic web platform based on NGINX and LuaJIT. It's intended to serve high-performance web applications with efficient integrated Lua scripting capabilities.
To pull the "ustclug/openresty" Docker image, use the following command line expression:
docker pull ustclug/openresty
To run a container instance of the "ustclug/openresty" Docker image, use the following command:
docker run -d -p 80:80 ustclug/openresty
This will start the container in detached mode and map port 80 of the container to port 80 of the host machine.
To build a Docker container using the "ustclug/openresty", create a Dockerfile and include the necessary configurations and commands. Here's a basic example:
FROM ustclug/openresty
COPY ./app /app
WORKDIR /app
CMD ["openresty", "-g", "daemon off;"]
Save this file, then run docker build . -t myapp to create a Docker image labeled "myapp".
Check OpenResty's official documentation for specific information on working with OpenResty: https://openresty.org/en/
Please note that this Docker image is designed for use in production environments, and as such, should be used accordingly.
Content type
Image
Digest
Size
109.5 MB
Last updated
about 5 years ago
docker pull ustclug/openresty:light-fat