man/src/image/history.md format example typo
Description
Basically the format example is supposed to be using .CreatedSince but is typo'ed as .Created
Steps to reproduce the issue:
- Go to the history help page on docker docs (generated from file in title)
- Attempt to copy and paste the example
- Run the command
Describe the results you received:
$ docker history --format "{{.ID}} | {{.Created}} | {{.Size}}" microsoft/dotnet
Template parsing error: template: :1:12: executing "" at <.Created>: can't evaluate field Created in type *formatter.historyContext
Describe the results you expected:
No error and properly shows image history as per format specification
Additional information you deem important (e.g. issue happens only occasionally):
Output of docker version:
$ docker version
Client:
Version: 18.03.1-ce
API version: 1.37
Go version: go1.9.5
Git commit: 9ee9f40
Built: Thu Apr 26 07:13:02 2018
OS/Arch: darwin/amd64
Experimental: false
Orchestrator: swarm
Server:
Engine:
Version: 18.03.1-ce
API version: 1.37 (minimum version 1.12)
Go version: go1.9.5
Git commit: 9ee9f40
Built: Thu Apr 26 07:22:38 2018
OS/Arch: linux/amd64
Experimental: true
Output of docker info:
$ docker info
Containers: 4
Running: 0
Paused: 0
Stopped: 4
Images: 4
Server Version: 18.03.1-ce
Storage Driver: overlay2
Backing Filesystem: extfs
Supports d_type: true
Native Overlay Diff: true
Logging Driver: json-file
Cgroup Driver: cgroupfs
Plugins:
Volume: local
Network: bridge host ipvlan macvlan null overlay
Log: awslogs fluentd gcplogs gelf journald json-file logentries splunk syslog
Swarm: inactive
Runtimes: runc
Default Runtime: runc
Init Binary: docker-init
containerd version: 773c489c9c1b21a6d78b5c538cd395416ec50f88
runc version: 4fc53a81fb7c994640722ac585fa9ca548971871
init version: 949e6fa
Security Options:
seccomp
Profile: default
Kernel Version: 4.9.87-linuxkit-aufs
Operating System: Docker for Mac
OSType: linux
Architecture: x86_64
CPUs: 4
Total Memory: 1.952GiB
Name: linuxkit-025000000001
ID: WXX3:3LTB:U6JB:IG33:VZZR:P5RL:DPVC:ZOTZ:37FB:XRYC:AKZK:5HWP
Docker Root Dir: /var/lib/docker
Debug Mode (client): false
Debug Mode (server): true
File Descriptors: 21
Goroutines: 39
System Time: 2018-07-02T00:15:20.5835055Z
EventsListeners: 2
HTTP Proxy: docker.for.mac.http.internal:3128
HTTPS Proxy: docker.for.mac.http.internal:3129
Registry: https://index.docker.io/v1/
Labels:
Experimental: true
Insecure Registries:
127.0.0.0/8
Live Restore Enabled: false
Additional environment details (AWS, VirtualBox, physical, etc.):
:whale:
Thank you for filling this issue @cwgem ! It should be fixed with https://github.com/docker/cli/pull/1171
Looks good here but the docs page I'm guessing it's based off doesn't seem to be updated yet. Not sure what kicks that process off.
Looks like this is fixed due to previous merge. @thaJeztah Please confirm.
Yes, looks to be fixed; closing