Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    Fruit Délicieux
    @chmod666org
    Hi there ,is there anyone still here ?
    Rushhh
    @Rushhh
    Hi
    Is there someone ?
    I succed at launched a docker with : docker run -i -t --volume-driver=nfs -v 192.168.1.56/srv/test_backup/rep_backups/:/mnt:nocopy xenial /bin/bash
    Rushhh
    @Rushhh
    but the same thing in docker-compose doesn't work :

    version: "3.2"

    volumes:
    datas:
    driver: nfs
    driver_opts:
    share: 192.168.1.56:/srv/test_backup/rep_backups

    services:
    hello:
    image: xenial
    volumes:

      - type: volume
        source: datas
        target: /mnt
        volume:
          nocopy: true
    if you have an idea ....
    Carlos Silva
    @r3pek
    hey guys!
    anyone know of an RPM for netshare?
    Archimedes Trajano
    @trajano
    Just wondering. I recently saw that docker can do nfs mounts in the documentation using the local driver, I presume the same can be said for cifs Given that... would this program be not relevant?
    Archimedes Trajano
    @trajano
    I think one good thing about this plugin is it allows hostnames to mount rather than IP addresses.
    uluxus
    @uluxus
    I have some SMB shares on a Windows Server I'm trying to mount automatically on boot with this plugin. The Docker Volumes disappear on each reboot, what is the correct way to automatically start the service with Debian 9? Using systemctl enable doesn't accept the CIFS parameter to get the equivilant of the manual command "sudo docker-volume-netshare cifs"
    seffyroff
    @seffyroff
    Hello folks! Before I ask some silly question which is probably
    which is problably 'easily' solved by some oddly documented nfs flag
    is there a generally recommended source of truth and unambiguous advice for nfs mount definition?
    what I'm attempting seems fairly innocuous - I want to create at mount time, and then mount a volume in a subdirectory under a defined host nfs mount. for example - the host shares host:/dockerconfigs and I want a container to mount a volume at host:/dockerconfigs/container1volume/
    seffyroff
    @seffyroff
    @trajano you seem semi-active here, would you be able to point me in the right direction please?
    StoreHost
    @StoreHost
    Hello, Can someone give me a hint for my problem?
    Im using NFS share and all is working until the hostmachine is restarting, after the restart none of the NFS Volumes are there. (running docker volume list) but on the NFS share them are still there.
    Archimedes Trajano
    @trajano
    @seffyroff not really sure what you're trying but can you even do what you're asking with the normal mount -t nfs command? You're probably going to have an easier time finding me at forums.docker.com
    @StoreHost i may have resolved it on my plugins the concept is the information when doing a Create must be saved in the rootfs. However, the documentation does not make any specific mention about doing that.
    Jakir Patel
    @jakirpatel
    @StoreHost
    Please check my PR
    that will resolve this issue.
    @gondor Could you please check my PR with docker-volume-netshare plugin? Please let me know if you get this message. I am not sure how active this group is.
    Abraham Calás
    @dogcalas_gitlab
    Hello I need some help with netshare!!! I am using a swarm with three nodes. If the service start on the manager node, everythings works ok, but if I force the service to run on the workers, I recieve the following error:
    no suitable node (missing plugin on 2 nodes; scheduling constraints not satisfied on 1 node).
    On all nodes the netshare nfs is running as a service.
    Jakir Patel
    @jakirpatel
    @dogcalas_gitlab Please share the logs
    of docker-volume-netshare
    Abraham Calás
    @dogcalas_gitlab
    @jakirpatel where I can find the docker-volume-netshare logs, and in what node? I have 3 nodes on my swarm.
    Jakir Patel
    @jakirpatel
    You can find it on /var/log/messages
    If you started docker-volume-netshare as systemd process
    Jakir Patel
    @jakirpatel
    @dogcalas_gitlab
    Jakir Patel
    @jakirpatel
    @gondor Just want to update you about my PR hope you will find time to merge it
    sbaloo
    @stephane-ballet
    Hi do you know how to install the docker-volume-netshare on a docker machine. It's a boot2docker
    Steve Grevemeyer
    @grevemes
    Ok, I'm feeling really stupid... What's the trick to getting a CIFS file system mounted with a specific uid/gid (uid=48,gid=48)?
    sbaloo
    @stephane-ballet
    @grevemes docker volume create -d cifs --name xxxx/dockervolumes/nexus --opt username=xxxx --opt password=xxxxx --opt fileMode=0777 --opt dirMode=0777 have you tried that
    camahony
    @camahony
    Does ContainX/docker-volume-netshare have Windows support?
    Jeroen v/dr Schoot
    @jschoot2010_twitter

    I managed to get a CIFS volume working when specifying credentials in .NetRC file.
    Is it also possible to configure credentials in docker compose file?

    volumes:
    data:
    driver: cifs
    driver_opts:
    share: cifshost/share

      #username: user
      #password: pass

    I tried but that doesn't seem to work.

    BzowK
    @BzowK
    hey guys
    When looking for a solution to mount Windows shares to my containers, I found NetShare this afternoon. Have a question, though; please. My Docker host is Atomic (Fedora 28) therefore doesn't have dpkg or other common tools and didn't see an rpm release. I could use rpm-ostree to perhaps install tools to install/build it, but wanted to look to see what the suggested method of implementation would be. Any suggestions?
    Matt Beaney
    @x1um1n
    hey folks, I'm trying to create a volume from a cifs share, but for some reason netshare is trying to mount it using a docker 'hostname' as opposed to the actual name of the box:

    `INFO[0153] Mount: 62bb276888b9529cc919aaea35402cb91987308a35535b2d6c3dc46ae7b1e560, ID: 589049f82ab088274cdfefa5ec3a88a5a6b4fe5abb7f8d650faaecae54aadad0
    INFO[0153] Mounting CIFS volume //62bb276888b9529cc919aaea35402cb91987308a35535b2d6c3dc46ae7b1e560 on /var/lib/docker-volumes/netshare/cifs/62bb276888b9529cc919aaea35402cb91987308a35535b2d6c3dc46ae7b1e560
    DEBU[0153] GetCreds: host=62bb276888b9529cc919aaea35402cb91987308a35535b2d6c3dc46ae7b1e560, netrc=&{/home/x1um1n/.netrc [0xc420318210] []}
    DEBU[0153] Executing: mount -t cifs -o vers=1.0,noperm,fileMode=0777,dirMode=0777,guest,sec=ntlm,rw //62bb276888b9529cc919aaea35402cb91987308a35535b2d6c3dc46ae7b1e560 /var/lib/docker-volumes/netshare/cifs/62bb276888b9529cc919aaea35402cb91987308a35535b2d6c3dc46ae7b1e560

    2019/06/15 19:07:51 mount error: could not resolve address for 62bb276888b9529cc919aaea35402cb91987308a35535b2d6c3dc46ae7b1e560: Unknown error`

    I had this working earlier this evening, then I put a fresh install on my media server, with the intention of building a nice clean dockerised setup, but now it won't work
    I'm running docker-volume-netshare 0.36, on ubuntu 18.04, with docker installed from snap
    Mark van Rijbroek
    @sartsj
    hello, i've successfully started the netshare plugin with the cifs option and a .netrc file, and I can start a container with a cifs share mounted to it, I can even list the contents of the share on the mount location on the docker host, but when I try to do anything on the mount location in the container I get a permission denied error
    event a simple ls -al is denied
    Mark van Rijbroek
    @sartsj
    well, adding --privileged=true when starting seems to work, now to just figure out how to give less permissions
    Mark van Rijbroek
    @sartsj
    i figured it out. Adding a context to the startup of the netshare service helps: ./docker-volume-netshare cifs -o context=system_u:object_r:svirt_sandbox_file_t:s0
    Mauricio Nunes
    @Mutilador
    hello

    this message is normal?

    2019/08/06 13:32:04 Entering go-plugins-helpers listPath