sha256:fbfcccb0eed3727b84bfc6f6af9189d116a9a6c0ea2fb607ac6316252a06a840
2019-07-10 22:01:50 UTC
5.4 GB
bb6a9781e4e46af3df08ecc40ca32deae97aaaf766586719ba6ad047ba3d13e9
MONGO_DOWNLOAD_URLhttps://downloads.mongodb.org/win32/mongodb-win32-x86_64-2008plus-ssl-3.4.21-signed.msi
MONGO_VERSION3.4.21
[#000] sha256:3889bb8d808bbae6fa5a33e07093e65c31371bcf9e4c38c21be6b9af52ad1548 - 70.17% (3.79 GB)
[#001] sha256:a816556df6ab81da5fe05f09f52050098042b11001ccce80336f3c312a840d65 - 28.25% (1.53 GB)
[#002] sha256:569687b16c6d860ffcbe521b5cf3f3564df9d3abcfe21ebf8b766651bb5d68d3 - 0.0% (1.18 KB)
[#003] sha256:3c5cdc42a9c190294b2a73bd6fc689b333f64fffd30c56270e88c33e6f593d98 - 0.0% (1.16 KB)
[#004] sha256:4fc25b9e4a254cee611c1ed0583ccdb0063ae5e6be2a34ee2419cfecb289620d - 0.0% (1.18 KB)
[#005] sha256:fe5ea459e644080fa0930a41933d4d7195be7e5f5a5050aabd437e337f827719 - 0.0% (1.18 KB)
[#006] sha256:318c8d273c833896c0acbfc14de4593317701bf1bcf012cea7b4e6bdbc18376c - 1.59% (87.7 MB)
[#007] sha256:ca31eef7e1c7ca84b35ac0728150b865b012e4189cc84e85a870cd5d9e76291c - 0.0% (1.15 KB)
[#008] sha256:be32a4fa5736fabe65543ba43fb2647d698fdaa37b4aa1ca33197ab0f4f82368 - 0.0% (1.15 KB)
[#009] sha256:6886ff4b263ab653f8d17020e5b801b93821fbe5c9bea7fea89c93cb06209631 - 0.0% (1.15 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-10 21:58:57 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_VERSION=3.4.21
2019-07-10 21:58:58 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_URL=https://downloads.mongodb.org/win32/mongodb-win32-x86_64-2008plus-ssl-3.4.21-signed.msi
2019-07-10 21:59:00 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_SHA256=bb6a9781e4e46af3df08ecc40ca32deae97aaaf766586719ba6ad047ba3d13e9
2019-07-10 22:01:43 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-10 22:01:46 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) VOLUME [C:\data\db C:\data\configdb]
2019-07-10 22:01:48 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) EXPOSE 27017
2019-07-10 22:01:50 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) CMD ["mongod"]
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.