-
Notifications
You must be signed in to change notification settings - Fork 531
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
With 1.23.0 some images report updated "NaN years ago" #3718
With 1.23.0 some images report updated "NaN years ago" #3718
Comments
Thanks for the report @gjsjohnmurray! Can you share the following data?
|
Sure. {
"Id": "sha256:a03c94c3147decca1fabda244b45644e182a044f6c37e1e4c21e55447cffa140",
"RepoTags": [
"mcr.microsoft.com/mssql/server:2017-latest"
],
"RepoDigests": [
"mcr.microsoft.com/mssql/server@sha256:7d194c54e34cb63bca083542369485c8f4141596805611e84d8c8bab2339eede"
],
"Parent": "",
"Comment": "",
"Created": "2022-09-08T20:24:19.259093141Z",
"Container": "81de807972b0b994f7f198d3a06e4556798e3665c4ad1c05f6649a6bab84e0e9",
"ContainerConfig": {
"Hostname": "81de807972b0",
"Domainname": "",
"User": "",
"AttachStdin": false,
"AttachStdout": false,
"AttachStderr": false,
"ExposedPorts": {
"1433/tcp": {}
},
"Tty": false,
"OpenStdin": false,
"StdinOnce": false,
"Env": [
"PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
],
"Cmd": [
"/bin/sh",
"-c",
"#(nop) ",
"CMD [\"/opt/mssql/bin/sqlservr\"]"
],
"Image": "sha256:4da7cadeb8919eadc9a4cfd45e9c3a5a044f5142c8157c51c20d49b4c56bdbad",
"Volumes": null,
"WorkingDir": "",
"Entrypoint": [
"/opt/mssql/bin/nonroot_msg.sh"
],
"OnBuild": null,
"Labels": {
"com.microsoft.product": "Microsoft SQL Server",
"com.microsoft.version": "14.0.3456.2",
"vendor": "Microsoft"
}
},
"DockerVersion": "20.10.17+azure-1",
"Author": "",
"Config": {
"Hostname": "",
"Domainname": "",
"User": "",
"AttachStdin": false,
"AttachStdout": false,
"AttachStderr": false,
"ExposedPorts": {
"1433/tcp": {}
},
"Tty": false,
"OpenStdin": false,
"StdinOnce": false,
"Env": [
"PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
],
"Cmd": [
"/opt/mssql/bin/sqlservr"
],
"Image": "sha256:4da7cadeb8919eadc9a4cfd45e9c3a5a044f5142c8157c51c20d49b4c56bdbad",
"Volumes": null,
"WorkingDir": "",
"Entrypoint": [
"/opt/mssql/bin/nonroot_msg.sh"
],
"OnBuild": null,
"Labels": {
"com.microsoft.product": "Microsoft SQL Server",
"com.microsoft.version": "14.0.3456.2",
"vendor": "Microsoft"
}
},
"Architecture": "amd64",
"Os": "linux",
"Size": 1331197155,
"VirtualSize": 1331197155,
"GraphDriver": {
"Data": {
"LowerDir": "/var/lib/docker/overlay2/ecf1f3952424eff9196c018b693bb3d64f24c8ad2deb995a0990ac37c28d1563/diff:/var/lib/docker/overlay2/f60f3b29793c42f717e1b5db2a1e930c8b631da5727e7d068cb48a686ca815de/diff",
"MergedDir": "/var/lib/docker/overlay2/0e9f33840fcc11556f49de976ebbf2fca90a2ca7e0775f33b92c919572850628/merged",
"UpperDir": "/var/lib/docker/overlay2/0e9f33840fcc11556f49de976ebbf2fca90a2ca7e0775f33b92c919572850628/diff",
"WorkDir": "/var/lib/docker/overlay2/0e9f33840fcc11556f49de976ebbf2fca90a2ca7e0775f33b92c919572850628/work"
},
"Name": "overlay2"
},
"RootFS": {
"Type": "layers",
"Layers": [
"sha256:4a641e21953d4161b38a01933802b61ad314880fc6a93e8667dd210846fe7071",
"sha256:5a995aa45acb4a390f97e1c3b1c133d62c1c3168b67b24554ef197b215dbc2fb",
"sha256:942b30391caef43f08bdc6f8c98ef2935a0bd71d270f74502963273deaa59a36"
]
},
"Metadata": {
"LastTagTime": "0001-01-01T00:00:00Z"
}
}
|
@danegsta it looks like some part of the date parsing (or the formatting?) doesn't like this string for |
@bwateratmsft it looks like we may just not be applying the custom date string to the parser aggressively enough; we use it when parsing the created date for a container, but not for images. The default ISO 8601 parsing handles the GMT dates, but fails with the BST dates, while the custom format parsing handles both. |
A fix for this has been released in Docker extension version 1.23.1. |
After reverting to 1.22.2:
The text was updated successfully, but these errors were encountered: