Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Volumes created through docker volume commands do not persist the labels #819

Open
adityadani opened this issue Jan 10, 2019 · 0 comments
Open
Assignees

Comments

@adityadani
Copy link
Contributor

Is this a BUG REPORT or FEATURE REQUEST?:
BUG REPORT

What happened:
Volumes created using the docker volume create command with labels passed through --opt argument do not contain the provided labels

What you expected to happen:
A volume created with labels should have the labels.

How to reproduce it (as minimally and precisely as possible):

sudo docker volume create -d pxd --name=dcVol1 --opt size=10 --opt fs=ext4 --opt block_size=4 --opt repl=1 --opt label=name=sqldisk,type=production 

The new volume dcVol1 does not have the expected label sqldisk,type=production

@adityadani adityadani self-assigned this Jan 10, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant