RousselTMLEARNING

TP · Docker: From Discovery to Expertise

Setting up the test environment

Oracle VM VirtualBox #

We will use Virtualbox to deploy our test VMs. Some labs will be done on Docker, so if you already have a Docker engine you can use it instead of deploying a new VM.

You must proceed with the installation of Virtualbox by following the procedure corresponding to your system:

https://www.virtualbox.org/wiki/Downloads

Hashicorp Vagrant #

We will use Vagrant to automatically deploy test environments. To learn more about Vagrant, you can follow our dedicated course.

You must proceed with the installation of Vagrant by following the procedure corresponding to your system:

https://developer.hashicorp.com/vagrant/install

From concept to expertise #

We have preconfigured a repo for the training.

  1. Git Repo

    You can use the command below to clone the repo:

    git clone https://github.com/RousselTM/docker-formation
  2. Environment selection

    The test environment configuration is located in the repository's tp folder: a Vagrantfile that creates three Ubuntu 24.04 VMs with Docker already installed: controlplane (192.168.56.10), worker1 (192.168.56.11) and worker2 (192.168.56.12). Single-machine labs use controlplane.

    cd docker-formation/tp
  3. Environment creation

    From the tp folder, create the environment on Virtualbox. For a single-machine lab, you can create only the controlplane VM:

    vagrant up              # the three VMs
    vagrant up controlplane # a single VM
  4. VM Access

    You can access the VM by running the following command:
    vagrant ssh controlplane

Difficulty level : ●○○○○ (1/5)

My progress

  • ⏱ Estimated time : ≈ 28 min

🧪 Launch the lab environment ↗

Sign in to track your progress and take notes. Sign in

💬 Ask a question

Course Glossary

DevOps

A culture, movement, and set of practices designed to unify software development (Dev) and IT operations (Ops).

API Gateway

A gateway that acts as a single entry point for all requests to a microservices architecture. It handles routing, security, and rate limiting.

Architecture

The overall structural design of an IT system, defining its various components, their relationships, and the principles guiding its evolution.

Artifact

The final outcome of a software compilation or build process, such as a .jar file, a zip archive, or a Docker image, ready for deployment.

Repository

A centralized storage location. This can refer to a source code repository (e.g., Git) or an artifact and binary repository (e.g., Harbor, Nexus, Arti...

Docker

An open-source platform designed to make it easier to create, deploy, and run applications by isolating them into portable, lightweight software conta...

Recommended Articles

Sécurité réseau des conteneurs (container network security) et networking Kubernetes

Sécuriser le réseau des conteneurs : fonctionnement du networking Docker et Kubernetes, CNI, Netw...

Container registry : choisir et sécuriser son registre d'images (Docker Hub, Harbor, GHCR, ECR)

Comprendre les registres de conteneurs : Docker Hub, GitHub Container Registry, registres cloud (...

Docker : vue d'ensemble, architecture et premiers pas

Découvrir Docker : conteneurs vs machines virtuelles, architecture client/daemon/registre, images...

Bonnes pratiques Docker : images, exécution, sécurité et exploitation

Les bonnes pratiques Docker : Dockerfile et builds multi-étapes, images minimales et reproductibl...

Aide-mémoire Docker : Les commandes essentielles

Un guide pratique regroupant toutes les commandes indispensables pour manipuler les images, les c...

Vagrant multi-machines : déployer un cluster Docker Swarm prêt à l'emploi

Construire avec un seul Vagrantfile un cluster Docker Swarm de trois nœuds (un manager, deux work...

Traefik : vue d'ensemble, architecture et premier déploiement

Découvrir Traefik : reverse proxy et load balancer cloud-native, entrypoints, routers, services, ...

Sécuriser Kubernetes : RBAC, NetworkPolicies, sécurité réseau des conteneurs et Pod Security

Sécuriser Kubernetes : RBAC (Role, ClusterRole, bindings), ServiceAccounts, NetworkPolicies, Pod ...

HAProxy comme Ingress Controller Kubernetes : Le Guide de Production

Découvrez comment utiliser HAProxy comme Ingress Controller dans Kubernetes. Architecture Direct-...

Support us

♥ SUPPORT US

Support RousselTM Learning

Courses, articles, labs and certificates stay free with no intrusive ads. A voluntary contribution, of any amount you choose, pays for hosting, lab environments and new content.

Contribute with PayPal Any amount · card or PayPal accountLearn more
QR code PayPal
Or scan this QR code with your phone

Thank you, every contribution counts!