2017-05-01 22:56:56 UTC
4.92 GB
d6dd767bc9584e3457ebbb6993db14464a5eba5c625f8314a65efdb191d6095a
MONGO_DOWNLOAD_URLhttp://downloads.mongodb.org/win32/mongodb-win32-x86_64-2008plus-ssl-3.2.13-signed.msi
MONGO_VERSION3.2.13
[#000] sha256:3889bb8d808bbae6fa5a33e07093e65c31371bcf9e4c38c21be6b9af52ad1548 - 77.01% (3.79 GB)
[#001] sha256:6d4d50238ed13902c153bc3efc3a22f8a96bca4168ea03624d01da1063728dc2 - 21.99% (1.08 GB)
[#002] sha256:2869ce7d2a7c3a942c84de08ac9b045cb0a8deefa17949b571dffa5cd1cc28cd - 0.0% (1.19 KB)
[#003] sha256:5b339fb8040dfb2bd9e36674790bbe6bd3cd9e282709791e1e39f4745556ff96 - 0.0% (1.2 KB)
[#004] sha256:2cb6d4be5586aa6a3e9d5bfa96c810ec23e250d1416a250a34a6e93e3d4b528c - 0.0% (1.2 KB)
[#005] sha256:0ce3bbebed1e0d477754c79e0450b5a254d54552fe98e6016d459c59d5ae4d66 - 0.0% (1.17 KB)
[#006] sha256:f872fa0bbdc91ee3f5e3d9e457a3fdd967466c15851240753635c4cb9c1837ec - 1.0% (50.6 MB)
[#007] sha256:1fb5918d7c3b3becc7245106fc78259830c7763df51b755133a296becc2ce41a - 0.0% (1.2 KB)
[#008] sha256:1e585f2b2bed1066fcebbbe146beaf13e1a9523b7bfbaa6a6531133a8b8382c8 - 0.0% (1.19 KB)
[#009] sha256:186a58be3a4fbf42219a59930adb1f1c1c0b7e601b61ee0dc03c30f308faf0fc - 0.0% (1.19 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-01 22:55:32 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_VERSION=3.2.13
2017-05-01 22:55:35 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_URL=http://downloads.mongodb.org/win32/mongodb-win32-x86_64-2008plus-ssl-3.2.13-signed.msi
2017-05-01 22:55:39 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_SHA256=d6dd767bc9584e3457ebbb6993db14464a5eba5c625f8314a65efdb191d6095a
2017-05-01 22:56:42 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-01 22:56:48 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) VOLUME [C:\data\db C:\data\configdb]
2017-05-01 22:56:53 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) EXPOSE 27017/tcp
2017-05-01 22:56:56 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.