docker service create --name jenkins-master
-p 50000:50000
-p 80:8080 jenkins
Since --detach=false was not specified, tasks will be created in the background.
In a future release, --detach=false will become the default.
docker service create
–mode=global
–name jenkins-swarm-agent
-e LABELS=docker-test
–mount “type=bind,source=/var/run/docker.sock,target=/var/run/docker.sock”
–mount “type=bind,source=/tmp/,target=/tmp/”
–secret source=jenkins-v1,target=jenkins
vipconsult/jenkins-swarm-agent
and here the same message!
I can’t see any nodes in jenkins… followed this tutorial: https://www.vip-consult.solutions/post/easy-docker-swarm-jenkins-continuous-deployment-at-scale#content
thank you guys!