Merge pull request #4204 from thaJeztah/docker_info_remove_registry

docker info: don't print "registry" (IndexServerAddress)
This commit is contained in:
Sebastiaan van Stijn 2023-04-13 20:23:15 +02:00 committed by GitHub
commit fcd3bca1e7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
9 changed files with 0 additions and 10 deletions

View File

@ -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 {

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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