Alpine with Docker
Alpine Version 3.6.2 (Released Jun 17, 2017)
Docker Version 17.05.0
What is Alpine Linux?
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.
What is Docker in Docker?
Although running Docker inside Docker is generally not recommended, there are some legitimate use cases, such as development of Docker itself.
Docker is an open-source project that automates the deployment of applications inside software containers, by providing an additional layer of abstraction and automation of operating-system-level virtualization on Linux, Mac OS and Windows.
- Minimal size only
- 40 MB and only 4 layers
- Memory usage is minimal on a simple install
:latest- 64 bit Intel/AMD (x86_64/amd64)
:x86- 32 bit Intel/AMD (x86/i686)
:aarch64- 64 bit ARM (ARMv8/aarch64)
:armhf- 32 bit ARM (ARMv7/armhf)
PLEASE CHECK TAGS BELOW FOR SUPPORTED ARCHITECTURES, THE ABOVE IS A LIST OF EXPLANATION
:amd64latest branch based on amd64
:mastermaster branch usually inline with latest
:dindlatest branch with docker-in-docker
:v0.0.0version number related to docker version
:arm32v7Armv7 based on latest tag but arm architecture
:arm32v7-dindArmv7 based on latest tag but arm architecture and includes docker-in-docker
How to use this image
Use like you would any other base image:
FROM yobasystems/alpine-docker:amd64 RUN apk add --no-cache ...... ......... ....... .... .. .
or maybe a docker run command:
docker run -it --name=dind --privileged -v /var/run/docker.sock:/var/run/docker.sock yobasystems/alpine-docker:amd64-dind /bin/sh
Image contents & Vulnerability analysis
|PACKAGE NAME||PACKAGE VERSION||VULNERABILITIES|