An open API service indexing awesome lists of open source software.

https://github.com/dominiquefuchs/did

Docker-in-Docker container images
https://github.com/dominiquefuchs/did

containerization docker docker-images dockerfile

Last synced: 5 months ago
JSON representation

Docker-in-Docker container images

Awesome Lists containing this project

README

          

[![CI Builds](https://github.com/DominiqueFuchs/DiD/actions/workflows/build.yaml/badge.svg)](https://github.com/DominiqueFuchs/DiD/actions/workflows/build.yaml)
[![pre-commit.ci status](https://results.pre-commit.ci/badge/github/DominiqueFuchs/DiD/main.svg)](https://results.pre-commit.ci/latest/github/DominiqueFuchs/DiD/main)

# DiD - Docker in Docker Containers

This repository provides Docker images with Docker CE pre-installed and configured for various Linux distributions that can be used to test docker target systems in CI scenarios.

## Notes

- These containers require `--privileged` mode to run Docker inside Docker properly.
- All images contain systemd as the configured init system
- Published platform builds include *linux/amd64* and *linux/arm64*
- The *latest* and *latest-extra* tags on Docker Hub will always point to the latest version of that distro within the corresponding repository.

## Available Images

- **[dfuchs/did-alma](https://hub.docker.com/r/dfuchs/did-alma)**:
- AlmaLinux 8
- AlmaLinux 9
- AlmaLinux 10

- **[dfuchs/did-debian](https://hub.docker.com/r/dfuchs/did-debian)**:
- Debian 11 (Bullseye)
- Debian 12 (Bookworm)
- Debian 13 (Trixie)

- **[dfuchs/did-ubuntu](https://hub.docker.com/r/dfuchs/did-ubuntu)**:
- Ubuntu 22.04 LTS (Jammy Jellyfish)
- Ubuntu 24.04 LTS (Noble Numbat)

## Variants

All images have a *base* and an *extra* variant.

**Base** variants only add the Docker CE packages and service to the base layer and are published without any special specifiers, e.g. *did-\:\*, *did-\:\* and *did-\:latest* will point to the corresponding base images.

**Extra** variants include additional packages on top of the Docker CE package layer and are published with an *extra-* prefix in the version tags, e.g. *did-\:\-extra*, *did-\:\-extra* and *did-\:latest-extra* will point to the corresponding base images. All extra packages are installed through distribution package management and sources, thus with the latest available version for that specific distribution version:

- acl, g++, gcc, git, gpg, make
- Python3 including pip, setuptools, wheel

## Usage

In most cases, they'd be used in existing pipelines or tooling as a base image (e.g. for Ansible or as a remote development target)

To manually run a container:

```bash
docker pull dfuchs/did-ubuntu:24.04
docker run -d --privileged --name my-did-container dfuchs/did-ubuntu:24.04
```