Feature[Translation] : Updating documentation to English

This commit is contained in:
Damien A
2023-10-01 16:54:03 +02:00
parent 97a72cf58e
commit e50f9eced2
2 changed files with 69 additions and 71 deletions

View File

@@ -1,66 +1,65 @@
## Table des matières
## Table of Contents
1. [Installation de ContainerLab](#installation-de-containerlab)
2. [Installation de vrnetlab](#installation-de-vrnetlab)
3. [Installation de Docker](#installation-de-docker)
1. [Installing ContainerLab](#installing-containerlab)
2. [Installing vrnetlab](#installing-vrnetlab)
3. [Installing Docker](#installing-docker)
## Installation de ContainerLab
## Installing ContainerLab
Containerlab peut être installé à l'aide du script d'installation qui détecte le type de système d'exploitation et installe le paquetage approprié :
ContainerLab can be installed using the installation script that detects the operating system type and installs the appropriate package:
```bash
# télécharger et installer la dernière version (peut nécessiter sudo)
# download and install the latest version (may require sudo)
bash -c "$(curl -sL https://get.containerlab.dev)"
# avec wget
# with wget
bash -c "$(wget -qO - https://get.containerlab.dev)"
```
## Installation de vrnetlab
## Installing vrnetlab
Vrnetlab place une VM normale dans un conteneur et la rend exécutable comme s'il s'agissait d'une image de conteneur.
Pour ce faire, vrnetlab fournit un ensemble de scripts qui construisent l'image du conteneur à partir d'un disque VM fourni par l'utilisateur.
Vrnetlab places a VM inside a container and makes it executable as if it were a container image.
To do this, vrnetlab provides a set of scripts that build the container image from a VM disk provided by the user.
```bash
# mise à jour et installation des dépendances
# update and install dependencies
sudo apt update
sudo apt -y install python3-bs4 sshpass make
sudo apt -y install git
# se déplacer dans /opt et cloner le projet
# move to /opt and clone the project
sudo cd /opt && sudo git clone https://github.com/hellt/vrnetlab
# optionnel : modification des droits du répertoire
# optional: change the directory permissions
sudo chown -R $USER:$USER vrnetlab
```
## Installation de docker
## Installing Docker
Il s'agit de moteur de conteneurisation utilisé par ContainerLab
This is the containerization engine used by ContainerLab.
```bash
# Mise à jour et installation des dépendances
# Update and install dependencies
sudo apt-get update
sudo apt-get install ca-certificates curl gnupg
# Ajout de la clef GPG
# Add Docker's official GPG key:
sudo apt-get update
sudo apt-get install ca-certificates curl gnupg
sudo install -m 0755 -d /etc/apt/keyrings
curl -fsSL https://download.docker.com/linux/debian/gpg | sudo gpg --dearmor -o /etc/apt/keyrings/docker.gpg
sudo chmod a+r /etc/apt/keyrings/docker.gpg
# Ajout du dépôt
# Add the repository to Apt sources:
echo \
"deb [arch="$(dpkg --print-architecture)" signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/debian \
"$(. /etc/os-release && echo "$VERSION_CODENAME")" stable" | \
sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
# Mise à jour et installation
sudo apt-get update
sudo apt-get install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin
```
## Sources
- [InsContainerLab](https://containerlab.dev/install/)
- [ContainerLab](https://containerlab.dev/install/)
- [vrnetlab](https://containerlab.dev/manual/vrnetlab/#vrnetlab)
- [BiranLinkLetter](https://www.brianlinkletter.com/2019/03/vrnetlab-emulate-networks-using-kvm-and-docker/)
- [BrianLinkLetter](https://www.brianlinkletter.com/2019/03/vrnetlab-emulate-networks-using-kvm-and-docker/)
- [Docker Engine for Debian](https://docs.docker.com/engine/install/debian/)