Nginx web server image for FruitOS. It is based on arm32v6/alpine. Thus, it can be used any Linux OS for Raspberry Pi 0, 1, 2, and 3.
To deploy this image on node pi6e32a2ab using fruit-cli:
fruit-cli run-container --node pi6e32a2ab --params '["-p", "8000:80"]' \
nginx herry13/nginx
The above maps container's port 80 to host's port 8000. You can try curl localhost:8000 to test it.
Dockerfile used to build this image:
FROM arm32v6/alpine
RUN apk update && apk upgrade
RUN apk add nginx
RUN mkdir -p /run/nginx
RUN echo "daemon off;" >> /etc/nginx/nginx.conf
CMD "/usr/sbin/nginx"
Content type
Image
Digest
Size
5.4 MB
Last updated
about 8 years ago
docker pull herry13/nginx:arm64v8