jx create docker

list of jx commands

jx create docker

Create/update Docker auth for a given host and user in the config.json file


Creates/updates an entry for secret in the Docker config.json for a given user, host

jx create docker auth [flags]


  # Create/update Docker auth entry in the config.json file
  jx create docker auth --host "foo.private.docker.registry" --user "foo" --secret "FooDockerHubToken" --email "fakeemail@gmail.com"


  -e, --email string    The email to associate auth component of config.json
  -h, --help            help for docker
  -t, --host string     The Docker host
  -s, --secret string   The secret to associate auth component of config.json
  -u, --user string     The user to associate auth component of config.json

Options inherited from parent commands

  -b, --batch-mode   Runs in batch mode without prompting for user input
      --verbose      Enables verbose output. The environment variable JX_LOG_LEVEL has precedence over this flag and allows setting the logging level to any value of: panic, fatal, error, warn, info, debug, trace


Auto generated by spf13/cobra on 2-Sep-2020

Last modified October 20, 2020: release 0.0.1921 (5342801)