This is related to step 3/4 Labs: Docker Service of Docker - SWARM | SERVICES | STACKS - Hands-on course.
I’m getting permission denied when creating the service with 3 replicas:
81dibooaj0a81shccyfs9ulmy
overall progress: 0 out of 3 tasks
1/3: failed to create new osl sandbox: permission denied
2/3: failed to create new osl sandbox: permission denied
3/3: failed to create new osl sandbox: permission denied
Please find the following screenshots showing the problem:
Screenshot showing the creation of the docker service and outcome
Screenshot of the instructions of the task:
Screenshot of docker service ps 81
Screenshot of docker service ls
I also tried running with sudo but realised I’m already logged in as root so didn’t make any difference.
Screenshot of docker node ls
Looking forward to hearing from you.
Thanks,
ewiklund