Commandes Linux : vagrant box prune
VAGRANT BOX PRUNE Supprimer toutes les boxes dont une version plus récente existe en local vagrant box prune [options] ex : $ vagrant box prune The following boxes will…
VAGRANT BOX PRUNE Supprimer toutes les boxes dont une version plus récente existe en local vagrant box prune [options] ex : $ vagrant box prune The following boxes will…
VAGRANT BOX OUTDATED Vérifier si la box de l'environnement en cours est à jour vagrant box outdated [options] ex : $ vagrant box outdated Checking if box 'primalskill/ubuntu-trusty64' is…
VAGRANT BOX ADD Télécharger en local une box depuis le Vagrant Cloud vagrant box add [options] <name> ex : $ vagrant box add debian/stretch64 --provider virtualbox ==> box: Loading…
DOCKER STACK PS Afficher la liste des tâches d'une stack $ docker stack ps [OPTIONS] stack ex : $ docker stack ps mystack ID NAME IMAGE NODE DESIRED STATE…
DOCKER SERVICE LOGS Afficher les logs relatifs à un service ou une tâche docker service logs [OPTIONS] service|task ex : Ci-dessous nous créons un service constitué de 6 tâches…
DOCKER SWARM LEAVE Quitter un cluster swarm $ docker swarm leave [OPTIONS] S'il s'agit d'un manager, il doit être destitué au préalable (docker node demote). ex : $ docker…
DOCKER SWARM JOIN-TOKEN Générer un token sur le leader pour la jonction d'un node au swarm en tant que worker $ docker swarm join-token worker ex : $ docker…
DOCKER SWARM JOIN Rejoindre un swarm en tant que worker ou manager depuis un node $ docker swarm join --token token ip-addr L'adresse IP est celle du leader utilisée…
DOCKER SWARM INIT Initialiser un swarm (Manager Status : -> Leader) docker swarm init --advertise-addr ip-addr L'option --advertise-addr spécifie l'interface réseau utilisée pour que le leader soit accessible par…
DOCKER STACK RM Supprimer une ou plusieurs stacks $ docker stack rm [OPTIONS] stack [stack...] ex : $ docker stack rm mystack Removing service mystack_db Removing service mystack_redis Removing…