Difference between revisions of "Docker config create"
Jump to navigation
Jump to search
Line 9: | Line 9: | ||
Create a config from a file or STDIN | 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 == |
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]
docker config
,~/.docker/config.json, CredsStore, CredHelpers
docker
[config | pull
|push
|run
|start
, |stop
|cp
|events
|info
|version
|build
|commit
|image
|images
|image ls
|image inspect
|rmi
|rm
|tag
|exec | rename | manifest | save | service update | load
],docker --help
Advertising: