Closed ivokwee closed 1 year ago
Script does not work as such. Some permission errors in docker.
java.io.IOException: Permission denied
Could not attach to network sp-example-net: rpc error: code = PermissionDenied desc = network sp-example-net not manually attachable
Solution was to add:
1) add --attachable to when creating network: docker network create -d overlay --attachable sp-example-net
docker network create -d overlay --attachable sp-example-net
2) add group when launching docker: docker service create ... --group $(getent group docker | cut -d: -f3)` shinyproxy-example
I will make a PR on this.
Thanks, PR was merged!
Script does not work as such. Some permission errors in docker.
java.io.IOException: Permission denied
Could not attach to network sp-example-net: rpc error: code = PermissionDenied desc = network sp-example-net not manually attachable
Solution was to add:
1) add --attachable to when creating network:
docker network create -d overlay --attachable sp-example-net
2) add group when launching docker: docker service create ... --group $(getent group docker | cut -d: -f3)` shinyproxy-example
I will make a PR on this.