2018-10-16 10:13:36 UTC
5.28 GB
6e9d8c82cdb58dc97febd3da3b0205498c49cd33418b7d77811193d497922f68
MONGO_DOWNLOAD_URLhttps://downloads.mongodb.org/win32/mongodb-win32-x86_64-2008plus-ssl-3.6.8-signed.msi
MONGO_VERSION3.6.8
[#000] sha256:3889bb8d808bbae6fa5a33e07093e65c31371bcf9e4c38c21be6b9af52ad1548 - 71.81% (3.79 GB)
[#001] sha256:c0f6863f3dd498ab56cdd308637630f888fe646de403284f2c5392ba885bdd8e - 26.94% (1.42 GB)
[#002] sha256:50ca338b1fa6c515ebe15efbf13da80d877db4a53da56b2b6e52e3da6426cc63 - 0.0% (1.17 KB)
[#003] sha256:f614283ea01d478e2138125d88909c86257a48b18307a4aeca5534a003e3993b - 0.0% (1.17 KB)
[#004] sha256:6f042e85671330502fd7610e8fcf848ad2c16ad7d70ff31466343dc7ac925ba2 - 0.0% (1.16 KB)
[#005] sha256:7841464c34fb7ceb8066adf11a544ff7f0e5f13c439b272002649dd4cf9001cb - 0.0% (1.17 KB)
[#006] sha256:5325a8511430120e6bae941c4897c179f8f4c32d8dd78065d7800c7282510fcf - 1.25% (67.4 MB)
[#007] sha256:5282525c5e94dad8d8975c78aa4379540f7b30297ef75735684c7b57fa3e1e76 - 0.0% (1.18 KB)
[#008] sha256:fa4426a99afb9aef5e18288d788f17fb47316b6a26ff39ac3c263c68b1e47cf0 - 0.0% (1.17 KB)
[#009] sha256:e89d68b47da3249ca7a5bb15f113b7d9c8635dd2b345645b5db7b59ad52d3fbe - 0.0% (1.17 KB)
Apply image 10.0.14393.0
2018-10-09 18:03:17 UTCInstall update 10.0.14393.2551
2018-10-16 09:16:33 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop';]
2018-10-16 10:10:29 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_VERSION=3.6.8
2018-10-16 10:10:30 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_URL=https://downloads.mongodb.org/win32/mongodb-win32-x86_64-2008plus-ssl-3.6.8-signed.msi
2018-10-16 10:10:31 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_SHA256=6e9d8c82cdb58dc97febd3da3b0205498c49cd33418b7d77811193d497922f68
2018-10-16 10:13:32 UTCpowershell -Command $ErrorActionPreference = 'Stop'; Write-Host ('Downloading {0} ...' -f $env:MONGO_DOWNLOAD_URL); [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; (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.';
2018-10-16 10:13:33 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) VOLUME [C:\data\db C:\data\configdb]
2018-10-16 10:13:35 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) EXPOSE 27017/tcp
2018-10-16 10:13:36 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.