mirror of https://github.com/docker/cli.git
964155cd27
On `docker ps`, port bindings with an IPv6 HostIP should have their addresses put into brackets when joining them to their ports. RFC 3986 (Section 3.2.2) stipulates that IPv6 addresses should be enclosed within square brackets. This RFC is only about URIs. However, doing so here helps user identifier what's part of the IP address and what's the port. It also makes it easier to copy/paste that '[addr]:port' into other software (including browsers). Signed-off-by: Albin Kerouanton <albinker@gmail.com> |
||
---|---|---|
.. | ||
tabwriter | ||
testdata | ||
buildcache.go | ||
container.go | ||
container_test.go | ||
context.go | ||
custom.go | ||
disk_usage.go | ||
disk_usage_test.go | ||
displayutils.go | ||
displayutils_test.go | ||
formatter.go | ||
formatter_test.go | ||
image.go | ||
image_test.go | ||
reflect.go | ||
reflect_test.go | ||
volume.go | ||
volume_test.go |