2020-07-15 16:40:39 UTC
2.24 GB
d6a17f96adcda714f523a4b119419b8bf93269542acee70e2b5e899d6d93efdc
MONGO_DOWNLOAD_URLhttps://fastdl.mongodb.org/win32/mongodb-win32-x86_64-2008plus-ssl-3.6.18-signed.msi
MONGO_VERSION3.6.18
[#000] sha256:4612f6d0b889cad0ed0292fae3a0b0c8a9e49aff6dea8eb049b2386d9b07986f - 71.5% (1.6 GB)
[#001] sha256:fc1b9e59edad2bf789457b52138acc367e86072b73bf862eaf96be70f4d4edbb - 24.63% (564 MB)
[#002] sha256:1cc883a0e3509a474bb32f3c40411bf86219325ae9710e25a5dcce6b44eef357 - 0.0% (1.12 KB)
[#003] sha256:e4f6934c207e1d59e1d216b8c75d9cff06f4e4edbabba0e0a3c81548e57cf9ba - 0.0% (1.11 KB)
[#004] sha256:173c3f637cf9520e0376b4d71d75ecfcd86e81d5179d653b448ec0281ca0262d - 0.0% (1.13 KB)
[#005] sha256:c47ad795c7068e2bb1ef9d85b91fc60a43d6449681db347d3519b13d6fbd07a0 - 0.0% (1.1 KB)
[#006] sha256:e0c4bf5328b346d5b6090a81854cde3d81777d0c8e3da549aceb682afc60fb20 - 3.87% (88.7 MB)
[#007] sha256:c3769cdd7e908f21adb4b666167d0825250422284794f1f9ca71aaa0cd60f76e - 0.0% (1.1 KB)
[#008] sha256:d776f75a9313eab7dc2669de1711a5b168c148105a0a011bd09baf58fb9075de - 0.0% (1.11 KB)
[#009] sha256:025b4340aa159d553aae07e8c91042d9c44f069b96a1943166362c18342cc354 - 0.0% (1.14 KB)
Apply image 1809-RTM-amd64
2020-07-08 04:26:49 UTCInstall update 1809-amd64
2020-07-15 12:15:48 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop';]
2020-07-15 16:25:35 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_VERSION=3.6.18
2020-07-15 16:25:35 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_URL=https://fastdl.mongodb.org/win32/mongodb-win32-x86_64-2008plus-ssl-3.6.18-signed.msi
2020-07-15 16:25:36 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_SHA256=d6a17f96adcda714f523a4b119419b8bf93269542acee70e2b5e899d6d93efdc
2020-07-15 16:40:36 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'); if ($env:MONGO_DOWNLOAD_SHA256) { 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.';
2020-07-15 16:40:37 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) VOLUME [C:\data\db C:\data\configdb]
2020-07-15 16:40:38 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) EXPOSE 27017
2020-07-15 16:40:39 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.