2019-11-20 15:06:35 UTC
5.41 GB
70f607fc095df925225df66817ea39692c5e33b55a52996d9de2c09d07420096
MONGO_DOWNLOAD_URLhttps://downloads.mongodb.org/win32/mongodb-win32-x86_64-2008plus-ssl-3.6.15-signed.msi
MONGO_VERSION3.6.15
[#000] sha256:3889bb8d808bbae6fa5a33e07093e65c31371bcf9e4c38c21be6b9af52ad1548 - 70.01% (3.79 GB)
[#001] sha256:57e8a97eaa75b4ef91d6df4454d12d3b43e629b80dd937008efb8d9eed5f0208 - 28.38% (1.54 GB)
[#002] sha256:60b3361980878b3668e4eb07fb90b61f37029e500df17dc50d49de9e0c64994c - 0.0% (1.18 KB)
[#003] sha256:3d954d86667950c0ee887ba013bd5290c0cf0dbf578c0129a4be9b068a48e6df - 0.0% (1.17 KB)
[#004] sha256:149430aec18938ff52b77a9ff7de64b206a03393be282442ca13a810725eb155 - 0.0% (1.18 KB)
[#005] sha256:52956af7b1cc3605a13a5fdb58fd32e12ace85deb1de843f157ec97a73bdad41 - 0.0% (1.16 KB)
[#006] sha256:6458b8ce3c141914ea5744acb588071d045b263155f2529d9a6c6644b8e5c685 - 1.61% (89.1 MB)
[#007] sha256:288c2e6cdd23a4444a9bb1d9293b149ef1018443780c7486730f832a48048c98 - 0.0% (1.18 KB)
[#008] sha256:88114f079a0ee70bc115ee3c9be5a20f0804898aa1563bd568e8326fba7d631f - 0.0% (1.19 KB)
[#009] sha256:995ffaab89e1d72ea2b1e86edcb90d3b814042f466f95acd626fff562fec1ab7 - 0.0% (1.16 KB)
Apply image 1607-RTM-amd64
2019-11-07 14:16:00 UTCInstall update ltsc2016-amd64
2019-11-13 00:41:31 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop';]
2019-11-20 14:57:02 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_VERSION=3.6.15
2019-11-20 14:57:03 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_URL=https://downloads.mongodb.org/win32/mongodb-win32-x86_64-2008plus-ssl-3.6.15-signed.msi
2019-11-20 14:57:04 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_SHA256=70f607fc095df925225df66817ea39692c5e33b55a52996d9de2c09d07420096
2019-11-20 15:06:30 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-11-20 15:06:32 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) VOLUME [C:\data\db C:\data\configdb]
2019-11-20 15:06:34 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) EXPOSE 27017
2019-11-20 15:06:35 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.