I would like to know how can I query the MobyLinuxVM for existing groups and their gids in order to create ‘docker’ group inside my containers with correct gid and use this group to provide access to mounted docker.sock in DooD manner (which is accessible only by root or docker group members per Docker documentation).
I’ve spent few days already and tried different approaches (mounting root fs, accessing VM via nsenter like in this post) , however it seems that ‘docker’ group is absent inside the MobyLinuxVM at all.
So is there any approach I can use to share docker.sock right with Docker for Windows?
docker version Client: Version: 17.12.0-ce API version: 1.35 Go version: go1.9.2 Git commit: c97c6d6 Built: Wed Dec 27 20:05:22 2017 OS/Arch: windows/amd64 Server: Engine: Version: 17.12.0-ce API version: 1.35 (minimum version 1.12) Go version: go1.9.2 Git commit: c97c6d6 Built: Wed Dec 27 20:12:29 2017 OS/Arch: linux/amd64 Experimental: true
Win 10 Enterprise x64 Version 1703 Build 15063.850