A custom base image build with Alpine Linux and S6 overlay. Inspired by LinuxServer.io's docker-baseimage-alpine
.
Image | Info |
---|---|
roeldev/base-alpine:3.9-latest | |
roeldev/base-alpine:3.10-latest |
Tags are organized as followed:
latest
points to the highest available release version (which is not always the latest)v1
points to the latest minor/patch release within this majorv1.1
points to the latest patch within this minor releasev1.1.2
points to a specific releaseexperimental
most up to date (non-stable) build from thedevelop
branch, it is not recommended to use this version in production
Have a look at the above MicroBadger page of a specific release to see which tags point to the same image build.
Path | Description |
---|---|
/config/ |
Contains all (system) config related files that might be customized to your needs |
Variable | Default | Description |
---|---|---|
PUID |
Highly recommended, see below for explanation. | |
PGID |
Highly recommended, see below for explanation. | |
DISPLAY_MOTD |
true |
Set to true to display system info at container startup. |
VERBOSE_INIT |
false |
Set to true to verbose execute init commands. Helpful to see what's happening during container startup. |
When using volumes (-v
flags) permissions issues can arise between the host OS and the container. This issue is avoided by allowing you to specify the user PUID
and group PGID
.
Ensure any volume directories on the host are owned by the same user you specify and any permissions issues will be resolved.
To find yours use id user
as below. This will result in PUID=1000
and PGID=100
.
$ id user
uid=1000(user) gid=100(group) groups=100(group)
- GitHub: https://github.com/roeldev/docker-base-alpine
- Docker Hub: https://hub.docker.com/r/roeldev/base-alpine
- Alpine Linux: https://alpinelinux.org/
- S6 overlay: https://github.com/just-containers/s6-overlay
GPL-3.0+ © 2019 Roel Schut