Docker swarm commands
This article gives some commonly used docker swarm commands that can be used with Smart ID Digital Access component.
'da' refers to the stack name in the below commands.
To deploy da service stack:
sudo docker stack deploy --compose-file docker-compose.yml -c network.yml -c versiontag.yml da
To remove service stack:
sudo docker stack rm da
To list deployed stack:
sudo docker stack ls
To list downloaded services:
To list running docker containers:
To list nodes connected in swarm:
To list services and the number of running replicas:
To check the reason why the service cannot start:
To inspect a specific node:
To delete the service, this would stop all deployed containers:
Copyright 2024 Technology Nexus Secured Business Solutions AB. All rights reserved.
Contact Nexus | https://www.nexusgroup.com | Disclaimer | Terms & Conditions