Changes

Metrics and Monitoring in swarm

360 bytes removed, 21:50, 3 September 2018
Cluster létrehozása
done
 
eval $(docker-machine env mg0)
 
#Install Portainer
docker service create \
--name portainer \
--publish 9000:9000 \
--replicas=1 \
--constraint 'node.role == manager' \
--mount type=bind,src=/var/run/docker.sock,dst=/var/run/docker.sock \
--mount type=bind,src=/var/lib/boot2docker/portainerdata,dst=/data \
portainer/portainer -H unix:///var/run/docker.sock
</source>
{{note|Mivel csak egy manager node-ot hoztunk létre,