convoy icon indicating copy to clipboard operation
convoy copied to clipboard

Volume labels not persisted across swarm nodes

Open rutherfordjw opened this issue 7 years ago • 4 comments

Reproduce

docker volume create --driver convoy --label com.docker.ucp.access.label=KIRBY kirbyVolume

Original volume will have the label, while the duplicated volumes across the swarm nodes will not.

~/D/c/ucptechopsnp ❯❯❯ docker volume inspect kirbyVolume
[
    {
        "Driver": "convoy",
        "Labels": null,
        "Mountpoint": "/",
        "Name": "kirbyVolume",
        "Options": {},
        "Scope": "local"
    }
]

System Info

Docker version

Server:
 Version:      17.03.0-ce
 API version:  1.26 (minimum version 1.12)
 Go version:   go1.7.5
 Git commit:   3a232c8
 Built:        Tue Feb 28 08:10:07 2017
 OS/Arch:      linux/amd64
 Experimental: false

Host

Red Hat Enterprise Linux Server release 7.3 (Maipo)

Convoy

convoy version v0.5.0

Ask

It appears the convoy daemon doesn't support labels, which is probably why docker volumes across the hosts are created without them. We need to be able to restrict access to the volume in Docker UCP using the access label.

rutherfordjw avatar Jun 02 '17 14:06 rutherfordjw

I don't think we support label now, I can look into it.

Which driver you're using? NFS?

yasker avatar Jun 02 '17 17:06 yasker

We're using NFS

rutherfordjw avatar Jun 02 '17 17:06 rutherfordjw

Any updates on this? Thanks. Also what other docker volume plugins supporting NFS shared mounted to the host would you recommend to use?

chrisfelix82 avatar Oct 14 '17 19:10 chrisfelix82

+1

thiagolsfortunato avatar May 23 '18 16:05 thiagolsfortunato