Skip to content
/ base Public

A minimal Alpine base image modified for Docker-friendliness

Notifications You must be signed in to change notification settings

minidocks/base

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Base image (minidocks/base)

The best docker container for developers. This is a very small container (total < 8 MB) based on Alpine image.

Alpine repositories

All images have registered the following apk repositories:

Utilities

All images contain the following extra packages:

  • tini A tiny but valid init for containers.
  • monit Managing and monitoring on a UNIX system.
  • inotify-tools CLI tools providing a simple interface to inotify.
  • dropbear Small SSH 2 client/server designed for small memory environments.
  • envsubst Substitutes environment variables in shell format strings.
  • ca-certificates Common CA certificates PEM files.
  • su-exec Switch user and group id, setgroups and exec.
  • wait-for Wait for another service to become available.
  • libc6-compat Compatibility libraries for glibc.
  • flock File locker from util-linux.

Features

Host user id and group id

The base image matches your userid / groupid inside the container at runtime.

Inspiration:

rootfs

ssh

Supervise

Environment variables

  • ALIAS_*:

  • CLEAN:

  • ENV_FILE:

  • AUTO_CHOWN:

  • PATH_PREFIX:

  • PATH_SUFFIX:

  • CRON_USER_*:

  • CRON_SCHEDULE_*:

  • CRON_COMMAND_*:

  • STARTUP_COMMAND_*:

  • FILE_*_PATH:

  • FILE_*_CONTENT:

  • SUEXEC:

  • ID:

  • USER_NAME: User name. You can use $USERNAME to get current user name.

  • USER_ID: User ID. You can use $UID to get current user ID.

  • GROUP_NAME: User group name. You can use $(id -g -n $USERNAME) to get current user group name.

  • GROUP_ID: User group ID. You can use $(id -g $USERNAME) to get current user group ID.

  • USER_SHELL: User shell. Default value: /bin/bash.

  • USER_PASSWORD: User password. Default value: password.

  • USER_MASK: User mask.

  • PATH_HOME: Default value: /home/${HOST_USER_NAME}.

https://github.com/hejack0207/empty.c (sexpect)

Run GUI application

xhost +
docker run --rm -it -e DISPLAY=$DISPLAY -v /tmp/.X11-unix:/tmp/.X11-unix -v `pwd`:/app -w /app minidocks/gimp

Tags

Tag Size
latest, 3.20
build, 3.20-build
edge
edge-build
3.20
3.20-build
3.19
3.19-build
3.18
3.18-build

Inspiration

Alternatives

https://ypereirareis.github.io/blog/2015/12/01/docker-container-external-links-alias-hosts-unavailable/ https://jtreminio.com/blog/running-docker-containers-as-current-host-user

About

A minimal Alpine base image modified for Docker-friendliness

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published