Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

mdlinville
Copy link

Describe the proposed changes

Fix syntax mistake when passing options to volume create.

Related issue

Fixes #325

Please take a look

@dusek @lybrus

@johndmulhausen
Copy link
Contributor

Deploy preview ready!

Built with commit 13dc845

https://deploy-preview-627--docker-docs.netlify.com

@johndmulhausen
Copy link
Contributor

@mstanleyjones Are you sure it's supposed to have two equals signs like that?

$ docker volume create --help

Usage:	docker volume create [OPTIONS]

Create a volume

Options:
  -d, --driver string   Specify volume driver name (default "local")
      --help            Print usage
      --label value     Set metadata for a volume (default [])
      --name string     Specify volume name
  -o, --opt value       Set driver specific options (default map[])

@mdlinville
Copy link
Author

Yep, we have a few like that. @thaJeztah may have some history on it.

@thaJeztah
Copy link
Member

I think it depends if it's a plugin option, or a mount option. Ping @cpuguy83 for a quick look, because I may be confused

@cpuguy83
Copy link
Contributor

LGTM

@thaJeztah thaJeztah merged commit 951b19a into master Nov 29, 2016
@johndmulhausen
Copy link
Contributor

Thanks, all :)

@johndmulhausen johndmulhausen deleted the 325_volume_create_opt_syntax branch November 29, 2016 20:01
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

Successfully merging this pull request may close these issues.

4 participants