- Dockerfile for Neflix/vector
- Build on top of Alpine Linux
- Uses Bintray Vector release
- Size:
~10MB
This container is intended to be used as a data volume container and mounted from a nginx container.
-
Build image:
docker build -t vector .
-
Create data volume container:
docker create --name vector --volume /usr/local/vector vector /bin/true
-
Pull nginx image:
docker pull nginx
-
Create nginx configuration file,
nginx.conf
:http { server { location /vector { alias /usr/local/vector; } ... } ... } ...
-
Start nginx container:
docker run --name nginx \ --volumes-from vector \ --volume /some/nginx.conf:/etc/nginx/nginx.conf:ro \ nginx
Other HTTP servers could be used as well.