mirror of https://github.com/docker/cli.git
Merge pull request #4204 from thaJeztah/docker_info_remove_registry
docker info: don't print "registry" (IndexServerAddress)
This commit is contained in:
commit
fcd3bca1e7
|
@ -324,7 +324,6 @@ func prettyPrintServerInfo(dockerCli command.Cli, info types.Info) []error {
|
||||||
if len(u) > 0 {
|
if len(u) > 0 {
|
||||||
fmt.Fprintln(dockerCli.Out(), " Username:", u)
|
fmt.Fprintln(dockerCli.Out(), " Username:", u)
|
||||||
}
|
}
|
||||||
fmt.Fprintln(dockerCli.Out(), " Registry:", info.IndexServerAddress)
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if len(info.Labels) > 0 {
|
if len(info.Labels) > 0 {
|
||||||
|
|
|
@ -41,7 +41,6 @@ Server:
|
||||||
Goroutines: 135
|
Goroutines: 135
|
||||||
System Time: 2017-08-24T17:44:34.077811894Z
|
System Time: 2017-08-24T17:44:34.077811894Z
|
||||||
EventsListeners: 0
|
EventsListeners: 0
|
||||||
Registry: https://index.docker.io/v1/
|
|
||||||
Labels:
|
Labels:
|
||||||
provider=digitalocean
|
provider=digitalocean
|
||||||
Experimental: false
|
Experimental: false
|
||||||
|
|
|
@ -46,7 +46,6 @@ Server:
|
||||||
Goroutines: 135
|
Goroutines: 135
|
||||||
System Time: 2017-08-24T17:44:34.077811894Z
|
System Time: 2017-08-24T17:44:34.077811894Z
|
||||||
EventsListeners: 0
|
EventsListeners: 0
|
||||||
Registry: https://index.docker.io/v1/
|
|
||||||
Labels:
|
Labels:
|
||||||
provider=digitalocean
|
provider=digitalocean
|
||||||
Experimental: false
|
Experimental: false
|
||||||
|
|
|
@ -51,7 +51,6 @@ Server:
|
||||||
Goroutines: 135
|
Goroutines: 135
|
||||||
System Time: 2017-08-24T17:44:34.077811894Z
|
System Time: 2017-08-24T17:44:34.077811894Z
|
||||||
EventsListeners: 0
|
EventsListeners: 0
|
||||||
Registry: https://index.docker.io/v1/
|
|
||||||
Labels:
|
Labels:
|
||||||
provider=digitalocean
|
provider=digitalocean
|
||||||
Experimental: false
|
Experimental: false
|
||||||
|
|
|
@ -45,7 +45,6 @@ Server:
|
||||||
Goroutines: 135
|
Goroutines: 135
|
||||||
System Time: 2017-08-24T17:44:34.077811894Z
|
System Time: 2017-08-24T17:44:34.077811894Z
|
||||||
EventsListeners: 0
|
EventsListeners: 0
|
||||||
Registry: https://index.docker.io/v1/
|
|
||||||
Experimental: false
|
Experimental: false
|
||||||
Insecure Registries:
|
Insecure Registries:
|
||||||
127.0.0.0/8
|
127.0.0.0/8
|
||||||
|
|
|
@ -45,7 +45,6 @@ Server:
|
||||||
Goroutines: 135
|
Goroutines: 135
|
||||||
System Time: 2017-08-24T17:44:34.077811894Z
|
System Time: 2017-08-24T17:44:34.077811894Z
|
||||||
EventsListeners: 0
|
EventsListeners: 0
|
||||||
Registry: https://index.docker.io/v1/
|
|
||||||
Experimental: false
|
Experimental: false
|
||||||
Insecure Registries:
|
Insecure Registries:
|
||||||
127.0.0.0/8
|
127.0.0.0/8
|
||||||
|
|
|
@ -67,7 +67,6 @@ Server:
|
||||||
Goroutines: 135
|
Goroutines: 135
|
||||||
System Time: 2017-08-24T17:44:34.077811894Z
|
System Time: 2017-08-24T17:44:34.077811894Z
|
||||||
EventsListeners: 0
|
EventsListeners: 0
|
||||||
Registry: https://index.docker.io/v1/
|
|
||||||
Labels:
|
Labels:
|
||||||
provider=digitalocean
|
provider=digitalocean
|
||||||
Experimental: false
|
Experimental: false
|
||||||
|
|
|
@ -102,7 +102,6 @@ Server:
|
||||||
Docker Root Dir: /var/lib/docker
|
Docker Root Dir: /var/lib/docker
|
||||||
Debug Mode: false
|
Debug Mode: false
|
||||||
Username: gordontheturtle
|
Username: gordontheturtle
|
||||||
Registry: https://index.docker.io/v1/
|
|
||||||
Experimental: false
|
Experimental: false
|
||||||
Insecure Registries:
|
Insecure Registries:
|
||||||
myinsecurehost:5000
|
myinsecurehost:5000
|
||||||
|
@ -164,7 +163,6 @@ Server:
|
||||||
ID: 2880d38d-464e-4d01-91bd-c76f33ba3981
|
ID: 2880d38d-464e-4d01-91bd-c76f33ba3981
|
||||||
Docker Root Dir: C:\ProgramData\docker
|
Docker Root Dir: C:\ProgramData\docker
|
||||||
Debug Mode: false
|
Debug Mode: false
|
||||||
Registry: https://index.docker.io/v1/
|
|
||||||
Experimental: true
|
Experimental: true
|
||||||
Insecure Registries:
|
Insecure Registries:
|
||||||
myregistry:5000
|
myregistry:5000
|
||||||
|
|
|
@ -82,7 +82,6 @@ Server:
|
||||||
Docker Root Dir: /var/lib/docker
|
Docker Root Dir: /var/lib/docker
|
||||||
Debug Mode: false
|
Debug Mode: false
|
||||||
Username: gordontheturtle
|
Username: gordontheturtle
|
||||||
Registry: https://index.docker.io/v1/
|
|
||||||
Experimental: false
|
Experimental: false
|
||||||
Insecure Registries:
|
Insecure Registries:
|
||||||
myinsecurehost:5000
|
myinsecurehost:5000
|
||||||
|
|
Loading…
Reference in New Issue