Gitlab-CI : Créer un runner docker privé en 5 minutes

  Рет қаралды 5,257

eazytraining

eazytraining

Күн бұрын

Code utilisé
#docs.gitlab.co...
mkdir -p /data/gitlab/runner/
docker run -d --name gitlab-runner --restart always -v /var/run/docker.sock:/var/run/docker.sock -v /data/gitlab/runner:/etc/gitlab-runner gitlab/gitlab-runner:latest
export TOKEN="your token"
docker run --rm -v /data/gitlab/runner/:/etc/gitlab-runner gitlab/gitlab-runner register \
--non-interactive \
--executor "docker" \
--docker-image docker:dind \
--url "gitlab.com/" \
--registration-token $TOKEN \
--description "docker-runner-eazytraining" \
--tag-list "docker-eazytraining" \
--run-untagged="true" \
--locked="false" \
--access-level="not_protected" \
--docker-privileged \
--docker-volumes '/var/run/docker.sock:/var/run/docker.sock'
section optionnelle à rajouter dans votre fichier gitlab-ci.yml
default:
tags:
- docker-eazytraining
🎁 Votre Cadeau 🎁
Découvrez notre formation gratuite (6 heures de formation) docker pour DevOps afin de débuter avec les micro-services et la conteneurisation : • Formation Gratuite Com...
Découvrez notre formation gratuite (5 heures de formation) VMWare WorkStation - Débutez avec la virtualisation : • Formation gratuite pou...
Découvrez notre formation gratuite (4 heures de formation) vagrant pour DevOps : • Formation Gratuite Com...
Découvrez notre formation gratuite (5 heures de formation) Azure Fondamentals AZ-900 : • Débutez avec le Cloud ...
Découvrez notre formation gratuite (5 heures de formation) VMWare WorkStation - Débutez avec la virtualisation : • Formation gratuite pou...
Découvrez notre formation gratuite (5 heures de formation) VMWare WorkStation - Débutez avec la virtualisation : • Formation gratuite pou...
⬇️ NOS RESEAUX SOCIAUX ⬇️
▶︎ Abonnez-vous à la chaîne KZbin pour ne rien rater : bit.ly/37qtuQK 🎥
▶︎ LinkedIn : / eazytraining 🔗
▶︎ Facebook : / eazytrainingfr 🚀
🚀 Devenez DevOps en 3 Mois 🚀
Découvrez notre bootcamp DevOps : eazytraining.f...
🛠 SITE INTERNET 🛠
EAZYTraining : eazytraining.fr/

Пікірлер: 2
@GODFIREFAST
@GODFIREFAST Жыл бұрын
great video ,thank you very much you're a lifesaver
@massimilianopinna9865
@massimilianopinna9865 5 ай бұрын
Bonjour, superbe vidéo qui permet d'avoir une première compréhension du sujet ! Pourquoi avoir utiliser l'image docker:dind et non alpine comme proposé dans la doc ? Sur la configuration du runner ?
GitLab CI/CD | GitLab Runner Introduction | 2022
23:28
Tech and Beyond With Moss
Рет қаралды 124 М.
English or Spanish 🤣
00:16
GL Show
Рет қаралды 19 МЛН
У ГОРДЕЯ ПОЖАР в ОФИСЕ!
01:01
Дима Гордей
Рет қаралды 7 МЛН
GitLab CI/CD Pipeline Tutorial for Beginners (2024)
19:33
Valentin Despa
Рет қаралды 9 М.
GitLab CI/CD - Providing your own docker runners
14:17
Javier Moreno
Рет қаралды 3,1 М.
Register Docker Runner/Executor with GitLab Server to Run Pipelines
11:01
GitHub Actions Tutorial - Basic Concepts and CI/CD Pipeline with Docker
32:31
TechWorld with Nana
Рет қаралды 1,5 МЛН
How to design a modern CI/CD Pipeline
9:59
DevOps Journey
Рет қаралды 127 М.
DOCKER 101. Maîtriser les bases de docker
1:07:49
chillotech
Рет қаралды 9 М.
GitLab CI - Create a Docker image and upload it to GitLab and Docker Hub
26:41
Tobi's Developer Corner
Рет қаралды 18 М.
GitLab CI CD Tutorial for Beginners [Crash Course]
1:09:00
TechWorld with Nana
Рет қаралды 1,2 МЛН