2019-10-09 22:50:23 UTC
5.42 GB
a82b6eb91cfcd66c817e5cdd4f3fa3d7673f780825d32da84732dddf80b2f957
MONGO_DOWNLOAD_URLhttps://downloads.mongodb.org/win32/mongodb-win32-x86_64-2008plus-ssl-3.6.14-signed.msi
MONGO_VERSION3.6.14
[#000] sha256:3889bb8d808bbae6fa5a33e07093e65c31371bcf9e4c38c21be6b9af52ad1548 - 70.0% (3.79 GB)
[#001] sha256:b4f320e456fcdbb0a55de06f153ad96f144c8c14e452ac7f20896ce2509d170f - 28.4% (1.54 GB)
[#002] sha256:29c2f8f4d6816f29c915ea3b2b780c2f4df1eba46b16d0b1a33b59c62c1953c1 - 0.0% (1.18 KB)
[#003] sha256:acfa18e12d65a1379a28f4fae440f997079cf08dc16b24ab1c8549224600b9da - 0.0% (1.18 KB)
[#004] sha256:6c8c6c52e38684e7134f9de46445d8aa3314b524f894288a3ad6b18875735142 - 0.0% (1.16 KB)
[#005] sha256:f5c924a27cbecd8f7caa85876e5d1d09f167994e7b382ab779918008ac5d9898 - 0.0% (1.18 KB)
[#006] sha256:beea70b4e823c339507372fb2a02e68868381c77ae65d1567df73bb9cfef1690 - 1.61% (89.1 MB)
[#007] sha256:8b136c3ecb71ff83626227483f8a2e116a1a24fa4bbd6952ff73a339e8e62e75 - 0.0% (1.16 KB)
[#008] sha256:0067e1029182fbcf98fe22a006fae3c44301dc0131e34b413942f7c4c3436665 - 0.0% (1.16 KB)
[#009] sha256:2470d7fae984a0cdcab4c00a037916d74a8805ae0b4e907caf369301601f6a5c - 0.0% (1.15 KB)
Apply image 1607-RTM-amd64
2019-10-05 16:15:00 UTCInstall update ltsc2016-amd64
2019-10-09 14:39:48 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop';]
2019-10-09 22:41:59 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_VERSION=3.6.14
2019-10-09 22:42:00 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_URL=https://downloads.mongodb.org/win32/mongodb-win32-x86_64-2008plus-ssl-3.6.14-signed.msi
2019-10-09 22:42:02 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_SHA256=a82b6eb91cfcd66c817e5cdd4f3fa3d7673f780825d32da84732dddf80b2f957
2019-10-09 22:50:18 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-10-09 22:50:20 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) VOLUME [C:\data\db C:\data\configdb]
2019-10-09 22:50:22 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) EXPOSE 27017
2019-10-09 22:50:23 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.