2019-02-14 10:40:37 UTC
5.77 GB
959acce14e4a565c1eb090a3430f20a7a04cadbe2d31b3367a7ff44b14e5b24d
MONGO_DOWNLOAD_URLhttps://downloads.mongodb.org/win32/mongodb-win32-x86_64-2008plus-ssl-3.6.10-signed.msi
MONGO_VERSION3.6.10
[#000] sha256:3889bb8d808bbae6fa5a33e07093e65c31371bcf9e4c38c21be6b9af52ad1548 - 65.65% (3.79 GB)
[#001] sha256:b479a92ce115faf181c1196d762b00f05ec9aa83dc2fec2b7ca094c8d6e1bfff - 25.33% (1.46 GB)
[#002] sha256:33e3f629f8e74d92de73bbc723579547f0dd6f434077ae65e3418c97061f6c4f - 0.0% (1.18 KB)
[#003] sha256:cc56b3ffd089de956deb8d8501e043d3251afb3c45444a0db5c09224150f9588 - 0.0% (1.18 KB)
[#004] sha256:884b51f9cbb5e225931f38dedbde80c9598edb12e856db17772be33369f9331c - 0.0% (1.19 KB)
[#005] sha256:0b54755c00637e038603d7531b58ac4bd026655e085239a19a576043d5d99fc2 - 0.0% (1.17 KB)
[#006] sha256:b5e944c8400ae6dba63394949be9c6efcf651d003062bd9fcf99dbee5be4d30c - 9.02% (533 MB)
[#007] sha256:fbcf801eb80eb73709545d4d3a9e787cc048d6011b1d08a530a02dad60bf8375 - 0.0% (1.18 KB)
[#008] sha256:105908f5f553570d23edfcefdc27aa9eb650f28fcec22050a73001372e700049 - 0.0% (1.18 KB)
[#009] sha256:5093c424045083757aee9f569aa53371387f478c437b441f4bd6c8a7c31aad17 - 0.0% (1.19 KB)
Apply image 10.0.14393.0
2019-02-11 20:08:57 UTCInstall update 10.0.14393.2791
2019-02-14 10:15:14 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop';]
2019-02-14 10:21:24 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_VERSION=3.6.10
2019-02-14 10:21:26 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_URL=https://downloads.mongodb.org/win32/mongodb-win32-x86_64-2008plus-ssl-3.6.10-signed.msi
2019-02-14 10:21:27 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_SHA256=959acce14e4a565c1eb090a3430f20a7a04cadbe2d31b3367a7ff44b14e5b24d
2019-02-14 10:40:31 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.';
2019-02-14 10:40:33 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) VOLUME [C:\data\db C:\data\configdb]
2019-02-14 10:40:35 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) EXPOSE 27017
2019-02-14 10:40:37 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.