2019-07-30 00:02:08 UTC
5.4 GB
9071fbe5a143ee96a635c010ef02c755dd75ed83b8d3d8115ea13f4d9c204567
MONGO_DOWNLOAD_URLhttps://downloads.mongodb.org/win32/mongodb-win32-x86_64-2012plus-4.2.0-rc4-signed.msi
MONGO_VERSION4.2.0-rc4
[#000] sha256:3889bb8d808bbae6fa5a33e07093e65c31371bcf9e4c38c21be6b9af52ad1548 - 70.16% (3.79 GB)
[#001] sha256:a816556df6ab81da5fe05f09f52050098042b11001ccce80336f3c312a840d65 - 28.24% (1.53 GB)
[#002] sha256:569687b16c6d860ffcbe521b5cf3f3564df9d3abcfe21ebf8b766651bb5d68d3 - 0.0% (1.18 KB)
[#003] sha256:78a09d4d4438350627fc96e57587e596bbde48fa193ba7a5746b358c3ef81d42 - 0.0% (1.18 KB)
[#004] sha256:120d526af999897dd2b54d7b4a2031ddc182474c186ab956eb1649b780a53535 - 0.0% (1.17 KB)
[#005] sha256:6c9cb88f668c3d019df5874f233cd8605fd4c97dbace175294fd00cfe5e6a456 - 0.0% (1.16 KB)
[#006] sha256:4972d7733ea7a1729657a0c2b24831cde5c4a2fd4dc6daee0b0b69b3327cd759 - 1.6% (88.6 MB)
[#007] sha256:96eb839ae9dbbf118d9aa60d742c17a50924089ddd98f72a81f8d0ef02ef1cbb - 0.0% (1.15 KB)
[#008] sha256:62578a46cc93b91d328095aaa77263a6157f7203283eac1014bb47681d2cd1a9 - 0.0% (1.15 KB)
[#009] sha256:95d50e375eb479391a3f48c62a6d6d12c5a921bd3e3789068684d073a905433a - 0.0% (1.13 KB)
Apply image 1607-RTM-amd64
2019-07-05 15:56:18 UTCInstall update ltsc2016-amd64
2019-07-10 14:30:47 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop';]
2019-07-29 23:51:53 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_VERSION=4.2.0-rc4
2019-07-29 23:51:54 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_URL=https://downloads.mongodb.org/win32/mongodb-win32-x86_64-2012plus-4.2.0-rc4-signed.msi
2019-07-29 23:51:55 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_SHA256=9071fbe5a143ee96a635c010ef02c755dd75ed83b8d3d8115ea13f4d9c204567
2019-07-30 00:02: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'); 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', 'INSTALLLOCATION=C:\mongodb', 'ADDLOCAL=all' ); $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:\mongodb\bin\*.pdb -Force; Remove-Item C:\windows\installer\*.msi -Force; Remove-Item mongo.msi -Force; Write-Host 'Complete.';
2019-07-30 00:02:04 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) VOLUME [C:\data\db C:\data\configdb]
2019-07-30 00:02:06 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) EXPOSE 27017
2019-07-30 00:02:08 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.