Skip to content
/ DinD Public

Docker in Docker "DinD" AlmaLinux/rockylinux

License

Notifications You must be signed in to change notification settings

exaluc/DinD

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

DinD AlmaLinux/rockylinux Setup

This repository contains Dockerfiles for setting up Docker-in-Docker (DinD) environments using AlmaLinux as the base image. Different configurations are available for various use-cases.

Table of Contents

  1. Requirements
  2. Installation
  3. Dockerfiles Overview
  4. Usage
  5. Docker Compose
  6. Contributing
  7. Authors
  8. License

Requirements

  • Docker
  • Docker Compose (Optional)

Installation

Clone this repository to your local machine:

git clone https://github.com/exaluc/DinD.git

Dockerfiles Overview

Dockerfile

This is the standard setup using AlmaLinux 8. It installs Docker CE, Docker CLI, and Containerd.

Dockerfile-minimal

This setup uses the minimal AlmaLinux image to provide a lightweight DinD environment. It only installs essential packages to run Docker & docker-compose.

Dockerfile-py

This setup is optimized for Python development. It includes development tools and Python 3.9.1.

Usage

To build a Docker image from any of the Dockerfiles, navigate to the project directory and run:

docker build -f <DockerfileName> -t <your-image-name> .

For example, to build an image from Dockerfile:

docker build -f Dockerfile -t my-dind-setup .

To run the container:

docker run --privileged -d --name my-dind-container my-dind-setup

Docker Compose

docker-compose up -d

Legacy Docker Compose CLI near docker compose

For users who are familiar with older docker-compose, also supported.

Contributing

If you'd like to contribute, please fork the repository and make changes as you'd like. Pull requests are welcome.

Authors

License

MIT


Releases

No releases published

Packages

No packages published