This image extends the 32-bit Ubuntu core with the nginx web server packages from the Ubuntu repositories.
The latest build of this image can readily be pulled from Docker Hub:
$ docker pull f69m/ubuntu32-nginx
This image is very similar to the official nginx Docker image. The following usage examples are losely based on its documentation.
$ docker run -d --name nginx -v /some/content:/usr/share/nginx/html:ro f69m/ubuntu32-nginx
The static contents can be added to a new image using and building a simple Dockerfile
:
FROM f69m/ubuntu32-nginx
COPY static-html-directory /usr/share/nginx/html
From the directory containing the Dockerfile
build and run the new image like:
$ docker build -t nginx-static .
$ docker run -d --name nginx nginx-static
You are welcome to discuss this image, report issues or contribute changes on Github or leave comments on Docker Hub.
- f69m/ubuntu32-nginx on Docker Hub
- f69m/docker-ubuntu32-nginx on Github