Alpine Linux lightweight with Docker-in-Docker [docker] [amd64/armhf/aarch64]
1.5K
This Docker image (ngacareer/alpine-docker) is based on the minimal Alpine Linux with Docker pre-installed, or even better Docker-in-Docker (dind).
Alpine Linux is an independent, non-commercial, general purpose Linux distribution designed for power users who appreciate security, simplicity and resource efficiency. Alpine Linux is built around musl libc and busybox, very simple distribution and security in mind. The image is only 5 MB . 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.
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 virtualisation on Linux, Mac OS and Windows.
:amd64, :x86_64 - 64 bit Intel/AMD (x86_64/amd64):arm64v8, :aarch64 - 64 bit ARM (ARMv8/aarch64):arm32v7, :armhf - 32 bit ARM (ARMv7/armhf):latest latest branch based (Automatic Architecture Selection):master master branch usually inline with latest:dind latest branch with docker-in-docker:amd64, :x86_64 amd64 based on latest tag but amd64 architecture:dind-amd64, :dind-x86_64 amd64 based on latest tag but amd64 architecture and includes docker-in-docker:armhf, :arm32v7 Armv7 based on latest tag but arm architecture:dind-armhf, :dind-arm32v7 Armv7 based on latest tag but arm architecture and includes docker-in-docker:aarch64, :arm64v8 Armv8 based on latest tag but arm64 architecture:dind-aarch64, :dind-arm64v8 Armv8 based on latest tag but arm64 architecture and includes docker-in-dockerUse like you would any other base image:
FROM ngacareer/alpine-docker
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 ngacareer/alpine-docker:dind /bin/sh
| PACKAGE NAME | PACKAGE VERSION | VULNERABILITIES |
|---|
Content type
Image
Digest
Size
70.9 MB
Last updated
over 5 years ago
docker pull ngacareer/alpine-docker