Public | Automated Build

Last pushed: 10 months ago
Short Description
An Alpine Linux base image, featuring s6 process management to run just about anything!
Full Description


A Docker image for running just about anything within a container, based on Alpine Linux.
This image belongs to a suite of images documented here.

Image size is ~13.8 MB.


This image features:

  • [Alpine Linux][alpinelinux]
  • [s6][s6] and [s6-overlay][s6overlay]
  • go-dnsmasq


See for image contents.


To use this image include FROM smebberson/alpine-base at the top of your Dockerfile. Starting from smebberson/alpine-base provides you with the ability to easily start any service using s6. s6 will also keep it running for you, restarting it when it crashes.

Read more about extending this image with your own services.


Prior to v4.4, Alpine Linux did not support the search keyword in resolv.conf. This breaks many tools that rely on DNS service discovery, in particular, Kubernetes, Docker Cloud, Consul, Rancher.

To overcome these issues, alpine-base includes the lightweight container-only DNS server go-dnsmasq to resolve these issues.

That means that any image extending this image will now work with Docker Cloud service discovery and links and Kubernetes service discovery.

Note: despite Alpine Linux v4.4 adding support for the search keyword, go-dnsmasq has been retained for compatibility. It may or may not be included in future versions.


An example of using this image can be found in examples/user-alpine.

Docker Pull Command
Source Repository