2016-08-17 21:28:48 UTC
3.43 GB
348db5060e5c821acbd170331e806ea0233626837e6ea30e7d0e8dc72cc2e41f
MONGO_DOWNLOAD_URLhttp://downloads.mongodb.org/win32/mongodb-win32-x86_64-2008plus-ssl-3.2.9-signed.msi
MONGO_VERSION3.2.9
[#000] sha256:1239394e5a8ab79fbd3b751dc5d98decf5886f14339958fdf5c1f96c89da58a7 - 93.85% (3.22 GB)
[#001] sha256:be0175dbdd12c150c89a273c6ae8a093858f186a1b130670b81917d39cfc62c3 - 0.0% (1.32 KB)
[#002] sha256:dfe883eff4994fbceb894d01dd7cc6bd7e3ab5903f730c7144ea2e799aa566a5 - 0.11% (3.87 MB)
[#003] sha256:140da80509c7a92709f53eced91c049431efd9877f0a3ec600608651449ffefc - 0.0% (1.33 KB)
[#004] sha256:bf803535633973d91b2a70612d64d2545bda3a54795df846b94f58f3c1e5e95e - 0.0% (1.31 KB)
[#005] sha256:52a87b405168925e094fff97ade066bd3f5da3a7425c4d8df7fe509d35858e43 - 0.0% (1.31 KB)
[#006] sha256:c62f4c001bfba45c6fe4826468b87454ecd7f84a9b670417445b9394e9806626 - 6.04% (212 MB)
[#007] sha256:7020cbff2876c55c17e3c6e36ff27bfd88ca6c74e62925672dd989e74c6ed80f - 0.0% (1.32 KB)
[#008] sha256:86976dff0634792afec216d7fcf4182b79e112476d20878825be6dd78971f3d2 - 0.0% (1.31 KB)
[#009] sha256:34220f3d200659831e75062b7bd59dc734acc3d0abd8c85851054d6e9d49c4d9 - 0.0% (1.32 KB)
powershell -Command $ErrorActionPreference = 'Stop'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop';]
2016-08-17 20:30:21 UTCpowershell -Command $ErrorActionPreference = 'Stop'; [Environment]::SetEnvironmentVariable('PATH', 'C:\mongodb\bin;' + $env:PATH, [EnvironmentVariableTarget]::Machine);
2016-08-17 20:30:24 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_VERSION=3.2.9
2016-08-17 21:15:24 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_URL=http://downloads.mongodb.org/win32/mongodb-win32-x86_64-2008plus-ssl-3.2.9-signed.msi
2016-08-17 21:15:28 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_SHA256=348db5060e5c821acbd170331e806ea0233626837e6ea30e7d0e8dc72cc2e41f
2016-08-17 21:27:33 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' ); Write-Host 'Verifying install ...'; Write-Host ' mongo --version'; mongo --version; Write-Host ' mongod --version'; mongod --version; Write-Host 'Removing ...'; Remove-Item mongo.msi -Force; Write-Host 'Complete.';
2016-08-17 21:28:40 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) VOLUME [C:\data\db C:\data\configdb]
2016-08-17 21:28:44 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) EXPOSE 27017/tcp
2016-08-17 21:28:48 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.