2021-08-25 19:51:45 UTC
2.77 GB
503c649f89d096782cacd69059023e81fac37d41a33f1f7a8dfb0fcdef96f318
MONGO_DOWNLOAD_URLhttps://fastdl.mongodb.org/win32/mongodb-win32-x86_64-2012plus-4.2.15-signed.msi
MONGO_VERSION4.2.15
[#000] sha256:4612f6d0b889cad0ed0292fae3a0b0c8a9e49aff6dea8eb049b2386d9b07986f - 57.87% (1.6 GB)
[#001] sha256:c67ded6868b61d392a0c096f911563fd6bc0bc3ed4fe401d077b3718a1b0cdaf - 32.59% (923 MB)
[#002] sha256:985da5cbc0735e1c422e766af23125ba345f431cb337ea43ec32298d0bb8e4ea - 0.0% (1.26 KB)
[#003] sha256:6e25d3baa64922d76857067a4ebe70603ad40ab7b021c3a3025437aefff1bb3f - 0.0% (1.38 KB)
[#004] sha256:957060b0f0b82d773aff875ddf40e1c1f9a5448f5df259e81636d99c6927ad7e - 0.0% (1.41 KB)
[#005] sha256:18d529ea281e4866fd703b8c349285ae4398aa8159631396087edef91f74ea0b - 0.0% (1.36 KB)
[#006] sha256:44f9325aef0ee2ad0fb2d939ad03f0aff4191d74ef56fddb3e19652db45db69f - 9.54% (270 MB)
[#007] sha256:e77c632e2dbe828a2a0c171444e810428abcdbdddc1bc653ae02ec9e547fcf4f - 0.0% (1.25 KB)
[#008] sha256:39a7864e57595e38c99d687cbac5b1d9c4bda32a5976adaf650aad4c95553d57 - 0.0% (1.32 KB)
[#009] sha256:efa982e4b6dcb83a5e9530e981b4245c8212dfaae2276b81f4a629dc2c07a45f - 0.0% (1.25 KB)
Apply image 1809-RTM-amd64
2021-08-05 19:44:34 UTCInstall update 1809-amd64
2021-08-25 13:46:35 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop';]
2021-08-25 19:49:26 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_VERSION=4.2.15
2021-08-25 19:49:27 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_URL=https://fastdl.mongodb.org/win32/mongodb-win32-x86_64-2012plus-4.2.15-signed.msi
2021-08-25 19:49:28 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_SHA256=503c649f89d096782cacd69059023e81fac37d41a33f1f7a8dfb0fcdef96f318
2021-08-25 19:51:41 UTCpowershell -Command $ErrorActionPreference = 'Stop'; Write-Host ('Downloading {0} ...' -f $env:MONGO_DOWNLOAD_URL); [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; (New-Object System.Net.WebClient).DownloadFile($env:MONGO_DOWNLOAD_URL, 'mongo.msi'); if ($env:MONGO_DOWNLOAD_SHA256) { Write-Host ('Verifying sha256 ({0}) ...' -f $env:MONGO_DOWNLOAD_SHA256); if ((Get-FileHash mongo.msi -Algorithm sha256).Hash -ne $env:MONGO_DOWNLOAD_SHA256) { Write-Host 'FAILED!'; exit 1; }; }; Write-Host 'Installing ...'; Start-Process msiexec -Wait -ArgumentList @( '/i', 'mongo.msi', '/quiet', '/qn', '/l*v', 'install.log', 'INSTALLLOCATION=C:\mongodb', 'ADDLOCAL=Client,ImportExportTools,MiscellaneousTools,MonitoringTools,Router,ServerNoService' ); if (-Not (Test-Path C:\mongodb\bin\mongo.exe -PathType Leaf)) { Write-Host 'Installer failed!'; Get-Content install.log; exit 1; }; Remove-Item install.log; $env:PATH = 'C:\mongodb\bin;' + $env:PATH; [Environment]::SetEnvironmentVariable('PATH', $env:PATH, [EnvironmentVariableTarget]::Machine); Write-Host 'Verifying install ...'; Write-Host ' mongo --version'; mongo --version; Write-Host ' mongod --version'; mongod --version; Write-Host 'Removing ...'; Remove-Item C:\windows\installer\*.msi -Force; Remove-Item mongo.msi -Force; Write-Host 'Complete.';
2021-08-25 19:51:43 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) VOLUME [C:\data\db C:\data\configdb]
2021-08-25 19:51:43 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) EXPOSE 27017
2021-08-25 19:51:45 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) CMD ["mongod" "--bind_ip_all"]
2021-08-25 19:54:06 UTC
6.11 GB
503c649f89d096782cacd69059023e81fac37d41a33f1f7a8dfb0fcdef96f318
MONGO_DOWNLOAD_URLhttps://fastdl.mongodb.org/win32/mongodb-win32-x86_64-2012plus-4.2.15-signed.msi
MONGO_VERSION4.2.15
[#000] sha256:3889bb8d808bbae6fa5a33e07093e65c31371bcf9e4c38c21be6b9af52ad1548 - 62.06% (3.79 GB)
[#001] sha256:c427f892fe74603ae09d4e49b25f8f7046f957054034dc9f462e0e88d7bffaa5 - 33.56% (2.05 GB)
[#002] sha256:a869803fc3d8292f0fe1bc6ed35e1ceedbd7c797a1486767a55f88c6c28ed4c5 - 0.0% (1.39 KB)
[#003] sha256:fa36646434c15874d01ada5183b742e14054a772b80e830a8df433d04c30cab5 - 0.0% (1.28 KB)
[#004] sha256:03060b8be16e4425ef07dab7b7f3aaa2582aa8b949b1abfdbed41c532aa55876 - 0.0% (1.28 KB)
[#005] sha256:26ba065a642fd06235f2914e8aa78f611a960e6337deeacb16f01609c3d9e3bd - 0.0% (1.27 KB)
[#006] sha256:13836ca81cb48790ea836b2899c482d759084b9be43b638054a52f56e153d840 - 4.39% (274 MB)
[#007] sha256:3879b28f855817bc0d60558cfa5c0e0dea975512430518a433e3c80d77ac2e02 - 0.0% (1.26 KB)
[#008] sha256:58ff9c269e743ff30b9e5830bd3dc5225dc801ee321660f729d3c72c95ad4717 - 0.0% (1.25 KB)
[#009] sha256:b9c87cb15aee2168cf9a38950a4ca1e69d86d11f176e2bf4d9961c254ad98d9c - 0.0% (1.27 KB)
Apply image 1607-RTM-amd64
2021-08-01 08:52:00 UTCInstall update ltsc2016-amd64
2021-08-25 13:59:32 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop';]
2021-08-25 19:51:51 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_VERSION=4.2.15
2021-08-25 19:51:52 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_URL=https://fastdl.mongodb.org/win32/mongodb-win32-x86_64-2012plus-4.2.15-signed.msi
2021-08-25 19:51:53 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_SHA256=503c649f89d096782cacd69059023e81fac37d41a33f1f7a8dfb0fcdef96f318
2021-08-25 19:54:02 UTCpowershell -Command $ErrorActionPreference = 'Stop'; Write-Host ('Downloading {0} ...' -f $env:MONGO_DOWNLOAD_URL); [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; (New-Object System.Net.WebClient).DownloadFile($env:MONGO_DOWNLOAD_URL, 'mongo.msi'); if ($env:MONGO_DOWNLOAD_SHA256) { Write-Host ('Verifying sha256 ({0}) ...' -f $env:MONGO_DOWNLOAD_SHA256); if ((Get-FileHash mongo.msi -Algorithm sha256).Hash -ne $env:MONGO_DOWNLOAD_SHA256) { Write-Host 'FAILED!'; exit 1; }; }; Write-Host 'Installing ...'; Start-Process msiexec -Wait -ArgumentList @( '/i', 'mongo.msi', '/quiet', '/qn', '/l*v', 'install.log', 'INSTALLLOCATION=C:\mongodb', 'ADDLOCAL=Client,ImportExportTools,MiscellaneousTools,MonitoringTools,Router,ServerNoService' ); if (-Not (Test-Path C:\mongodb\bin\mongo.exe -PathType Leaf)) { Write-Host 'Installer failed!'; Get-Content install.log; exit 1; }; Remove-Item install.log; $env:PATH = 'C:\mongodb\bin;' + $env:PATH; [Environment]::SetEnvironmentVariable('PATH', $env:PATH, [EnvironmentVariableTarget]::Machine); Write-Host 'Verifying install ...'; Write-Host ' mongo --version'; mongo --version; Write-Host ' mongod --version'; mongod --version; Write-Host 'Removing ...'; Remove-Item C:\windows\installer\*.msi -Force; Remove-Item mongo.msi -Force; Write-Host 'Complete.';
2021-08-25 19:54:04 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) VOLUME [C:\data\db C:\data\configdb]
2021-08-25 19:54:05 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) EXPOSE 27017
2021-08-25 19:54:06 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) CMD ["mongod" "--bind_ip_all"]
Please be careful as this will not just delete the reference but also the actual content!
For example when you have latest and v1.2.3 both pointing to the same image
the deletion of latest will also permanently remove v1.2.3.