Difference between revisions of "Docker config create"

From wikieduonline
Jump to navigation Jump to search
 
(2 intermediate revisions by the same user not shown)
Line 2: Line 2:
 
  docker config create my_config ./config.json
 
  docker config create my_config ./config.json
  
 +
docker config create
 +
"docker config create" requires exactly 2 arguments.
 +
See 'docker config create --help'.
 +
 +
Usage:  docker config create [OPTIONS] CONFIG file|-
 +
 +
Create a config from a file or STDIN
  
 +
docker config create --help
 +
 +
Usage:  docker config create [OPTIONS] CONFIG file|-
 +
 +
Create a config from a file or STDIN
 +
 +
Options:
 +
  -l, --label list              Config labels
 +
      --template-driver string  Template driver
  
 
== See also ==
 
== See also ==
 +
* {{docker config}}
 
* {{docker cmd}}
 
* {{docker cmd}}
  
 
[[Category:Docker]]
 
[[Category:Docker]]

Latest revision as of 12:56, 5 August 2022

docker config create my_config ./config.json
docker config create
"docker config create" requires exactly 2 arguments.
See 'docker config create --help'. 

Usage:  docker config create [OPTIONS] CONFIG file|- 

Create a config from a file or STDIN
docker config create --help

Usage:  docker config create [OPTIONS] CONFIG file|-

Create a config from a file or STDIN

Options:
  -l, --label list               Config labels
      --template-driver string   Template driver

See also[edit]

Advertising: