项目作者: yobasystems

项目描述 :
Alpine Linux with Docker (Docker-in-Docker) [Docker]
高级语言: Dockerfile
项目地址: git://github.com/yobasystems/alpine-docker.git
创建时间: 2017-06-21T15:26:15Z
项目社区:https://github.com/yobasystems/alpine-docker

开源协议:

下载


Alpine with Docker

Docker Automated build
Docker Pulls
Docker Stars

Alpine Version
Docker Version

This Container image (yobasystems/alpine-docker) is based on the minimal Alpine Linux with Docker pre-installed, or even better Docker-in-Docker (dind).

Alpine Version 3.21.3 (Released 2025-02-13)

Docker Version 27.3.1

Table of Contents

🏔️ 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 Container 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 virtualisation on Linux, Mac OS and Windows.

✨ Features

  • Minimal size only, minimal layers
  • Memory usage is minimal on a simple install.

🏗️ Architectures

  • :amd64, :x86_64 - 64 bit Intel/AMD (x86_64/amd64)
  • :arm64v8, :aarch64 - 64 bit ARM (ARMv8/aarch64)
  • :arm32v7, :armhf - 32 bit ARM (ARMv7/armhf)

📝 PLEASE CHECK TAGS BELOW FOR SUPPORTED ARCHITECTURES, THE ABOVE IS A LIST OF EXPLANATION

🏷️ Tags

  • :latest latest branch based (Automatic Architecture Selection)
  • :main main 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-docker

📏 Layers & Sizes

Version
MicroBadger Layers (tag)
MicroBadger Size (tag)

Version
MicroBadger Layers (tag)
MicroBadger Size (tag)

Version
MicroBadger Layers (tag)
MicroBadger Size (tag)

🚀 How to use this image

Usage

Use like you would any other base image:

  1. FROM yobasystems/alpine-docker
  2. RUN apk add --no-cache ......
  3. .........
  4. .......
  5. ....
  6. ..
  7. .

or maybe a docker run command:

  1. docker run -it --name=dind --privileged -v /var/run/docker.sock:/var/run/docker.sock yobasystems/alpine-docker:dind /bin/sh

or if you want to use a docker-compose.yml:

  1. version: '3.9'
  2. services:
  3. alpine-docker:
  4. image: yobasystems/alpine-docker:dind
  5. container_name: alpine-docker
  6. privileged: true
  7. volumes:
  8. - /var/run/docker.sock:/var/run/docker.sock

Simply create a docker-compose.yml file with the above content and run docker-compose up -d to start the container.

🔍 Image contents & Vulnerability analysis

PACKAGE NAME PACKAGE VERSION VULNERABILITIES

📚 Source Repositories

🐳 Container Registries

💰 Donation

BMAC

BITCOIN

ETHEREUM