Outils pour utilisateurs

Outils du site


tech:ansible_vagrant_et_docker

Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

tech:ansible_vagrant_et_docker [2025/03/24 15:06] – créée - modification externe 127.0.0.1tech:ansible_vagrant_et_docker [2025/05/31 18:33] (Version actuelle) Jean-Baptiste
Ligne 27: Ligne 27:
  
 Voir http://www.projectatomic.io/blog/2015/08/why-we-dont-let-non-root-users-run-docker-in-centos-fedora-or-rhel/  Voir http://www.projectatomic.io/blog/2015/08/why-we-dont-let-non-root-users-run-docker-in-centos-fedora-or-rhel/ 
 +
  
 === Conf conteneur === Conf conteneur
  
-<code bash Dockerfile>+''Dockerfile'' 
 +<code bash>
 FROM debian:jessie FROM debian:jessie
  
Ligne 64: Ligne 66:
 Conf supervisord Conf supervisord
  
-<code ini sshd.conf>+''sshd.conf'' 
 +<code ini>
 [program:sshd] [program:sshd]
 directory=/ directory=/
Ligne 77: Ligne 80:
 docker build -t plop --build-arg http_proxy=http://192.168.56.1:3128 --build-arg https_proxy=http://192.168.56.1:3128 . docker build -t plop --build-arg http_proxy=http://192.168.56.1:3128 --build-arg https_proxy=http://192.168.56.1:3128 .
 </code> </code>
 +
 +
 == Vagrant == Vagrant
  
-<code ruby Vagrantfile>+''Vagrantfile'' 
 +<code ruby>
 Vagrant.configure("2") do |config| Vagrant.configure("2") do |config|
   config.vm.provider "docker" do |d|   config.vm.provider "docker" do |d|
Ligne 100: Ligne 106:
 end end
 </code> </code>
 +
  
 == Autre == Autre
Ligne 105: Ligne 112:
 Un Makefile pour nous simplifier la vie Un Makefile pour nous simplifier la vie
  
-<code make Makefile>+''Makefile'' 
 +<code make>
  
 FicListYaml = $(shell find . -type f -iname "*.yml" -not -iname "mdp.yml") FicListYaml = $(shell find . -type f -iname "*.yml" -not -iname "mdp.yml")
Ligne 147: Ligne 155:
         docker ps         docker ps
 </code> </code>
 +
 +
  
 == Pb == Pb
tech/ansible_vagrant_et_docker.1742825205.txt.gz · Dernière modification : de 127.0.0.1

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki