This stack provided necessary services for other stacks operate.
Service included:
- node-labelling-agent: A labelling agent for Swarm Node, provide node labels for running stacks/services on a given node.
First, retrieve the stack YML manifest:
curl -L https://raw.githubusercontent.com/swarmlibs/swarmlibs/main/docker-stack.yml -o swarmlibs-stack.ymlThen use the downloaded YML manifest to deploy your stack:
docker stack deploy -c swarmlibs-stack.yml swarmlibsYou can also deploy the stack directly from the web:
curl -L https://raw.githubusercontent.com/swarmlibs/swarmlibs/main/docker-stack.yml | docker stack deploy -c - swarmlibsDocker Swarm Stack have now been installed. You can check to see whether the all services have started by running docker service ls:
root@manager01:~# docker service ls
ID NAME MODE REPLICAS IMAGE PORTS
lutfgiv4xtcx swarmlibs_node_metadata replicated 1/1 (max 1 per node) swarmlibs/node-metadata-agent:localdocker stack rm swarmlibs