Skip to content

Does volume mounting support sockets, for example mounting docker.sock (docker runtime) for use with Portainer #422

Answered by AkihiroSuda
johnmccabe asked this question in Q&A
Discussion options

You must be logged in to vote

-v $HOME/docker.sock:/var/run/docker.sock

You probably meant -v /run/user/XXXXX/docker.sock:/var/run/docker.sock

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@johnmccabe
Comment options

Answer selected by johnmccabe
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
question Further information is requested
2 participants
Converted from issue

This discussion was converted from issue #421 on November 18, 2021 12:44.