2017-09-15 16:41:38 UTC
5.02 GB
d27765ea1042f83b8a34cd60758c7ebf037520b9fb0e7c0c972e8256ee717829
MONGO_DOWNLOAD_URLhttp://downloads.mongodb.org/win32/mongodb-win32-x86_64-2008plus-ssl-3.2.16-signed.msi
MONGO_VERSION3.2.16
[#000] sha256:3889bb8d808bbae6fa5a33e07093e65c31371bcf9e4c38c21be6b9af52ad1548 - 75.53% (3.79 GB)
[#001] sha256:da87b55a9b6358a65462540faeaa97505b0a12e1a2c14f08893589181d32d00d - 23.49% (1.18 GB)
[#002] sha256:d9a80234ea5aa1b3fdb0960fc47b11cc20b357170851b348ddd413a7be726094 - 0.0% (1.2 KB)
[#003] sha256:c6259b2dee2583a38140a4a985ae7f32ab4a97d585f3ec85ae6c66be82dc6cbe - 0.0% (1.18 KB)
[#004] sha256:2926676d443660bade6f05b851821b3bf0f26710a0a2b7fde27fabefd6db22b4 - 0.0% (1.18 KB)
[#005] sha256:45615bb4a4cc20c13dc72181c18ffcf62812e1f4e75cb6518010a771b3416e12 - 0.0% (1.19 KB)
[#006] sha256:a56d02846b0c63207289181524b861a8ca50ef98472d56cd928a637784309f39 - 0.98% (50.5 MB)
[#007] sha256:07312e9a0086b03372b14b033adc9871ad759358452a607748835cd5e8eb6714 - 0.0% (1.19 KB)
[#008] sha256:5bddbeab99ad6cc55e9cc855825f4bbb205a02fea6077a8d4475e0ab41e14aff - 0.0% (1.19 KB)
[#009] sha256:4d29076ec36e7aef6fcfe1e9519a9be0405aba0b03efebeef58552d1a6945528 - 0.0% (1.19 KB)
Apply image 10.0.14393.0
2017-09-12 22:02:46 UTCInstall update 10.0.14393.1715
2017-09-14 16:25:09 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop';]
2017-09-15 16:40:21 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_VERSION=3.2.16
2017-09-15 16:40:26 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_URL=http://downloads.mongodb.org/win32/mongodb-win32-x86_64-2008plus-ssl-3.2.16-signed.msi
2017-09-15 16:40:29 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_SHA256=d27765ea1042f83b8a34cd60758c7ebf037520b9fb0e7c0c972e8256ee717829
2017-09-15 16:41:25 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-09-15 16:41:30 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) VOLUME [C:\data\db C:\data\configdb]
2017-09-15 16:41:35 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) EXPOSE 27017/tcp
2017-09-15 16:41:38 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.