Archimedes Trajano
Archimedes Trajano
Does the SSH transport merely call the `docker` command on the remote or does it do something special to provide it access to the docker daemon?
Can we reopen this thread? This is a useful feature to have with an Apache DMZ like https://github.com/trajano/docker-oidc-proxy
Here's an example of mounting from the command line ``` root@manager1:~# mount -t cifs //noriko/s /mnt/ -o username=vagrant,password=vagrant mount error(112): Host is down Refer to the mount.cifs(8) manual page (e.g....
I found it https://github.com/ContainX/docker-volume-netshare/blob/3b432b74a4be34781aaebeba878128f8b392dfa4/netshare/drivers/cifs.go#L22 ``` C:\Users\trajano\.docker>docker volume create -d cifs --name noriko/s --opt cifsopts=vers=3.02 noriko/s C:\Users\trajano\.docker>docker run -it -v noriko/s:/mount ubuntu /bin/bash root@6cc5455266d3:/# ls -la ``` Keeping this open just...
You can avoid the race condition between the mounting of the volume and docker. You also set it up on the docker stack configuration which makes your node VM configuration...
One other advantage I found was netshare cifs allows for hostnames whereas I had to use IP addresses in the `local` mount.
@jnovack I do agree for smaller shops it is easier. The only issue you may have is the hassle of creating another set of environments for development or testing.
I started to take a stab at this, it is based on https://github.com/wanghaibo/volume-netshare-plugin work, but I made it so that it is built on top of the existing code base...
I haven't completed it yet. But someone already created it https://github.com/wanghaibo/volume-netshare-plugin
@xkrt i stopped using this plugin, I did make my own though https://hub.docker.com/r/trajano/cifs-volume-plugin/ and https://hub.docker.com/r/trajano/glusterfs-volume-plugin/ both are managed plugins (but only support managed plugins) I don't have NFS as of...