Commandes Linux : docker config inspect

DOCKER CONFIG INSPECT

Commande : docker config inspect
Usage:  docker config inspect [OPTIONS] CONFIG [CONFIG...]

Display detailed information on one or more configs

Options:
  -f, --format string   Format the output using the given Go template
      --pretty          Print the information in a human friendly format

 

Afficher les informations détaillées d’une ou plusieurs configs

docker config inspect [OPTIONS] config [config...]

ex :

$ docker config inspect my-config
[
    {
        "ID": "rpzlw2xdnm20zgle5axc499jl",
        "Version": {
            "Index": 645
        },
        "CreatedAt": "2018-10-24T11:30:09.914721035Z",
        "UpdatedAt": "2018-10-24T11:30:09.914721035Z",
        "Spec": {
            "Name": "my-config",
            "Labels": {},
            "Data": "VGhpcyBpcyBhIGNvbmZpZwo="
        }
    }
]
$ docker config inspect --pretty my-config
ID:                     rpzlw2xdnm20zgle5axc499jl
Name:                   my-config
Created at:             2018-10-24 11:30:09.914721035 +0000 utc
Updated at:             2018-10-24 11:30:09.914721035 +0000 utc
Data:
This is a config

 

Fermer le menu
%d blogueurs aiment cette page :