2020-01-25 03:42:01 UTC
5.41 GB
0759502a0f0815936cdb909dd3df13b36504411011da2f37d093fcb40e04971a
MONGO_DOWNLOAD_URLhttps://downloads.mongodb.org/win32/mongodb-win32-x86_64-2008plus-ssl-4.0.15-signed.msi
MONGO_VERSION4.0.15
[#000] sha256:3889bb8d808bbae6fa5a33e07093e65c31371bcf9e4c38c21be6b9af52ad1548 - 70.04% (3.79 GB)
[#001] sha256:31f9df80631e7b5d379647ee7701ff50e009bd2c03b30a67a0a8e7bba4a26f94 - 28.47% (1.54 GB)
[#002] sha256:43da502775fb34b738d9f908cb549c2825c04f1451d1039ec99749be127e47ef - 0.0% (1.18 KB)
[#003] sha256:11005aaacf653be595b30ea1094508a43bc83f6ce45b97a6571b00b0e6205b79 - 0.0% (1.15 KB)
[#004] sha256:6faa6a96ce0d6c609e67f9c4896d4e2f2cb2d425e8353c8e2dce86fef72b86a6 - 0.0% (1.16 KB)
[#005] sha256:97e8ad352acb1ae697b5a28f19d5a683105a2530ffd0fed8370f18ff9b84786d - 0.0% (1.16 KB)
[#006] sha256:e0fc3467d23b26f263f15667bbb1be9a64431ddab99e113eaaa0aed685a3af58 - 1.49% (82.7 MB)
[#007] sha256:73866b049540547b7ff1c5eef521257405fe82b2794e8fcca7d8b02a9c8f1395 - 0.0% (1.16 KB)
[#008] sha256:d0db8b46bb3da297aa7a119bf82851b675a60acab79adaf1a0b596cd30bd3fa0 - 0.0% (1.15 KB)
[#009] sha256:50ff5168ca5323d2f9054472c1205f15e841a80d1a52ec5ab2729051a722de6b - 0.0% (1.16 KB)
Apply image 1607-RTM-amd64
2020-01-02 15:48:00 UTCInstall update ltsc2016-amd64
2020-01-15 15:20:46 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop';]
2020-01-25 03:29:12 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_VERSION=4.0.15
2020-01-25 03:29:13 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_URL=https://downloads.mongodb.org/win32/mongodb-win32-x86_64-2008plus-ssl-4.0.15-signed.msi
2020-01-25 03:29:14 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_SHA256=0759502a0f0815936cdb909dd3df13b36504411011da2f37d093fcb40e04971a
2020-01-25 03:41:56 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.';
2020-01-25 03:41:58 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) VOLUME [C:\data\db C:\data\configdb]
2020-01-25 03:42:00 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) EXPOSE 27017
2020-01-25 03:42:01 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.