We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
docker run --rm --security-opt label=disabled -v /var/run/docker.sock:/var/run/docker.sock:Z busybox echo it works
Ping the docker socket
sudo curl -H "Content-Type: application/json" --unix-socket /var/run/docker.sock http://localhost/_ping
--rm automatically clean up the container and remove the file system when the container exits