2019-07-29 23:48:49 UTC
2.62 GB
0147ca4aae70b6563b6703b720d982bf3b85533f9fb4e42e0d7f14cf690ba271
MONGO_DOWNLOAD_URLhttps://downloads.mongodb.org/win32/mongodb-win32-x86_64-2008plus-ssl-4.0.11-signed.msi
MONGO_VERSION4.0.11
[#000] sha256:d9e8b01179bfc94a5bdb1810fbd76b999aa52016001ace2d3a4c4bc7065a9601 - 59.01% (1.55 GB)
[#001] sha256:2c94705eec1366ad664f9523fe8b5dc4ceed4b4dd7f784e64a526c588201bdc4 - 23.86% (640 MB)
[#002] sha256:ca923bbdbfb45b97fa3deacb0fab791394bb70acb0e732a28742f352b9e98b5f - 0.0% (1.15 KB)
[#003] sha256:f9c6f0e9f5ab061a1a156506cc37cd271a4539e65e09ea72f463ad023b4c2879 - 0.0% (1.15 KB)
[#004] sha256:a902b703d519473b0980f76456eef8ab75167896813b75e41c7e1243446389de - 0.0% (1.17 KB)
[#005] sha256:7b8e930ecc96371788881bdf1c88cedce658fcf772b1b6b5e96fc97ea92732d1 - 0.0% (1.16 KB)
[#006] sha256:4e7b787ade47d635b9b303f5a1796233a6c233f07e046e65651fce2ef9d1997a - 17.12% (459 MB)
[#007] sha256:c5ddb729ef90bc939815ae4dd2639cc35f2ff1c4cd954b6847c916dcd707560d - 0.0% (1.17 KB)
[#008] sha256:0df60695e4d723c8f64d1423996276a95fda0025af27dbfa0a97a941fef06048 - 0.0% (1.15 KB)
[#009] sha256:5587f0ef98831d1b8349c6464dd1d494a601d2599c45225da50c1588d0467056 - 0.0% (1.15 KB)
Apply image 1803-RTM-amd64
2019-07-05 15:30:33 UTCInstall update 1803-amd64
2019-07-10 22:21:16 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop';]
2019-07-29 23:29:16 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_VERSION=4.0.11
2019-07-29 23:29:18 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_URL=https://downloads.mongodb.org/win32/mongodb-win32-x86_64-2008plus-ssl-4.0.11-signed.msi
2019-07-29 23:29:20 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_SHA256=0147ca4aae70b6563b6703b720d982bf3b85533f9fb4e42e0d7f14cf690ba271
2019-07-29 23:48: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-29 23:48:45 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) VOLUME [C:\data\db C:\data\configdb]
2019-07-29 23:48:47 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) EXPOSE 27017
2019-07-29 23:48:49 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.