How can I run a container in swarm mode that must have access to docker socket?, I don’t think that create a mount point when create service is a solution??
Many Thanks,
Javier R.
Share and learn in the Docker community.
How can I run a container in swarm mode that must have access to docker socket?, I don’t think that create a mount point when create service is a solution??
Many Thanks,
Javier R.
I found it
and I write it here in case that someone else needs it.
–mount type=bind,src=/var/run/docker.sock,dst=/var/run/docker.sock
Many Thanks,
Javier R.
Is it possible that, for security reasons, integrating the docker socket into the container is no longer sufficient?
Those are the options:
docker.sock: unix file permissions only