Docker-swarm: Unterschied zwischen den Versionen

Aus xinux.net
Zur Navigation springen Zur Suche springen
 
(19 dazwischenliegende Versionen von 4 Benutzern werden nicht angezeigt)
Zeile 1: Zeile 1:
=install=
+
*[[docker-swarm install]]
*apt update
+
*[[docker-swarm create]]
*apt upgrade
+
*[[docker-swarm examples]]
*curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
+
*[[docker-swarm commands]]
*add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"
+
 
*apt update
+
 
*apt-get install -y docker-ce
+
 
*systemctl start docker
+
 
*systemctl enable docker
+
 
=change host file=
+
*[[docker stack example]]
;/etc/hosts
 
10.50.66.21 farm02-node01 node01
 
10.50.66.22 farm02-node02 node02
 
10.50.66.23 farm02-node03 node03
 
  
 
=links=
 
=links=
 +
*https://linuxconfig.org/how-to-configure-docker-swarm-with-multiple-docker-nodes-on-ubuntu-18-04
 
*https://clouding.io/kb/en-us/articles/360010288160-Docker-Swarm-on-Ubuntu-18-04
 
*https://clouding.io/kb/en-us/articles/360010288160-Docker-Swarm-on-Ubuntu-18-04
 +
*https://geek-cookbook.funkypenguin.co.nz/recipes/nextcloud/

Aktuelle Version vom 19. Februar 2021, 14:14 Uhr