2017-07-28 19:01:04 UTC
4.99 GB
c40ae817a47c2ca07c5f6aca2139a485af7d253e47a5a802eb085057ae6c86d5
MONGO_DOWNLOAD_URLhttp://downloads.mongodb.org/win32/mongodb-win32-x86_64-2008plus-ssl-3.5.10-signed.msi
MONGO_VERSION3.5.10
[#000] sha256:3889bb8d808bbae6fa5a33e07093e65c31371bcf9e4c38c21be6b9af52ad1548 - 75.95% (3.79 GB)
[#001] sha256:e29afd68a947fc566b71a432a6df352eea9e59eb221c3cb9f6bf5a4df206571e - 22.87% (1.14 GB)
[#002] sha256:c2e2fab7692964a46adf839b6fe66a115f2c7617697a351e412c382936629b9f - 0.0% (1.2 KB)
[#003] sha256:b9394a009ea9c15c45309bf5dd02ae97ddfa9bbd05bdcd3a5e36ae79e1483164 - 0.0% (1.19 KB)
[#004] sha256:2c7eaffa925983f2584c3d0d7b4d50ee7838660733ac3ea2d7b8578dff1cecad - 0.0% (1.2 KB)
[#005] sha256:dd9d287fdfccc22ca8c33080710c1482a30f9ee397cf3971af5203115019be6f - 0.0% (1.19 KB)
[#006] sha256:cffe7f35bafa137b6e92137c5f00205f0c3f488f5af411fa723f69da516c0f4f - 1.18% (60.2 MB)
[#007] sha256:b220c24836ebc373376e77e861517190d4e8a6fb233bfe32bdd4300485a46af8 - 0.0% (1.19 KB)
[#008] sha256:023e5e0742c7c25d26cbca435a277e598d9fe8507e73f13c091760fa474f4c83 - 0.0% (1.2 KB)
[#009] sha256:995b0b9048b11093727be91d11c6d439d56092cb9dde22e9c550625ec6b283fe - 0.0% (1.19 KB)
Apply image 10.0.14393.0
2017-07-10 22:35:45 UTCInstall update 10.0.14393.1480
2017-07-28 18:55:58 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop';]
2017-07-28 18:59:45 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_VERSION=3.5.10
2017-07-28 18:59:48 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_URL=http://downloads.mongodb.org/win32/mongodb-win32-x86_64-2008plus-ssl-3.5.10-signed.msi
2017-07-28 18:59:52 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_SHA256=c40ae817a47c2ca07c5f6aca2139a485af7d253e47a5a802eb085057ae6c86d5
2017-07-28 19:00:50 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-07-28 19:00:56 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) VOLUME [C:\data\db C:\data\configdb]
2017-07-28 19:01:00 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) EXPOSE 27017/tcp
2017-07-28 19:01:04 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.