This image is based on Alpine and includes s6, to make it easy to start multiple process and manage them correctly.
latest
(Dockerfile)3.0
(Dockerfile) (Alpine 3.4)2.0
(Dockerfile) (Alpine 3.3)
Alpine Linux is a Linux distribution built around musl libc and BusyBox. The image is only 5 MB in size and has access to a package repository that is much more complete than other BusyBox based images. This makes Alpine Linux a great image base for utilities and even production applications. Read more about Alpine Linux here and you can see how their mantra fits in right at home with Docker images.
Include FROM evild/alpine-base
at the top of your Dockerfile. Starting from evild/alpine-base
provides you with the ability to easily start any service using s6.
Start service using s6:
- Create a folder at /etc/services.d/service-name
- You need to create a file named
run
in this folder:
#!/bin/sh
exec nginx;