Docker Community Forums

Share and learn in the Docker community.

Attach stack network to container

(Ibahob) #1

I have a docker stack name schoolv1_dev. In docker compose file i have add:
driver: overlay
attachable: true

I want crate container and attach it to stack network, but i get error docker: Error response from daemon: Could not attach to network schoolv1_dev_default: rpc error: code = PermissionDenied desc = network schoolv1_dev_default not manually attachable.