Follow the steps below to deploy Agent,
-
If Docker Swarm is not active, enable it by issuing the host shell command below,
docker swarm init
-
Issue the host shell command below,
cd $CONNECT/components/agent/swarm
-
To deploy the Agent, issue the host shell command below
docker stack deploy -c agent-stack.yaml --with-registry-auth connectAgent
-
Verify that the service is provisioned by issuing the host shell command below,
docker service ls
When the service has provisioned correctly, the count under ‘REPLICAS’ must read 1/1.