2017-05-23 22:41:33 UTC
4.93 GB
667106ca906321e72fc62b0cdb8283c4d9c59812c5cba1e990b21803e63f13ac
MONGO_DOWNLOAD_URLhttp://downloads.mongodb.org/win32/mongodb-win32-x86_64-2008plus-ssl-3.5.7-signed.msi
MONGO_VERSION3.5.7
[#000] sha256:3889bb8d808bbae6fa5a33e07093e65c31371bcf9e4c38c21be6b9af52ad1548 - 76.86% (3.79 GB)
[#001] sha256:6d4d50238ed13902c153bc3efc3a22f8a96bca4168ea03624d01da1063728dc2 - 21.94% (1.08 GB)
[#002] sha256:2869ce7d2a7c3a942c84de08ac9b045cb0a8deefa17949b571dffa5cd1cc28cd - 0.0% (1.19 KB)
[#003] sha256:e10aed785eaa7ab2dca27913a82844bb1ba12c9ea3afb2cedf07eee8afe7b516 - 0.0% (1.19 KB)
[#004] sha256:35ad82ec603c9bf4126eb7c95a90658eb32d07bf9f4766b179699e20699ebff3 - 0.0% (1.19 KB)
[#005] sha256:dee03d736e00d3f418f76c5c303d54133e3ce9a34190061ab66d391814eadfde - 0.0% (1.2 KB)
[#006] sha256:a0a9ab8ac6e4839ef509bdf7ab65630dc7e6713b4cc5165240f43ce48550b1a3 - 1.2% (60.5 MB)
[#007] sha256:aa6c9d9c3428094c94acae48fa4817f4d6afb0d8bb677cf0d3255c29b95112fd - 0.0% (1.19 KB)
[#008] sha256:dce8a4871048e1974dadae2f3f1d68104e1432743570cc5de5d58415ef90d343 - 0.0% (1.19 KB)
[#009] sha256:f3d5aecc7f190a7ee3733c53b5b1b8276d407e11e9778ed17ca56030a7b0b485 - 0.0% (1.18 KB)
Apply image 10.0.14393.0
2017-04-10 15:00:56 -0700Install update 10.0.14393.1066
2017-04-18 17:08:48 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop';]
2017-05-23 22:40:10 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_VERSION=3.5.7
2017-05-23 22:40:14 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_URL=http://downloads.mongodb.org/win32/mongodb-win32-x86_64-2008plus-ssl-3.5.7-signed.msi
2017-05-23 22:40:17 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_SHA256=667106ca906321e72fc62b0cdb8283c4d9c59812c5cba1e990b21803e63f13ac
2017-05-23 22:41:20 UTCpowershell -Command $ErrorActionPreference = 'Stop'; Write-Host ('Downloading {0} ...' -f $env:MONGO_DOWNLOAD_URL); (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.';
2017-05-23 22:41:27 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) VOLUME [C:\data\db C:\data\configdb]
2017-05-23 22:41:30 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) EXPOSE 27017/tcp
2017-05-23 22:41:33 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.