2020-11-11 22:00:37 UTC
5.59 GB
f7e29506ed39ee7c0116c192f7e65a61f7c7decbe4c723aa8c6343079f28a7bb
MONGO_DOWNLOAD_URLhttps://fastdl.mongodb.org/win32/mongodb-win32-x86_64-2008plus-ssl-4.0.20-signed.msi
MONGO_VERSION4.0.20
[#000] sha256:3889bb8d808bbae6fa5a33e07093e65c31371bcf9e4c38c21be6b9af52ad1548 - 67.78% (3.79 GB)
[#001] sha256:4830fb08bc2df7ae80548c349b880c263ea87a7b93e13ecbc77c862b6e179558 - 28.32% (1.58 GB)
[#002] sha256:9affba5fa493b09d48e6bd56c0d7b0eb03d1dbaa80493dd08cb18a3c9ddfbb67 - 0.0% (1.14 KB)
[#003] sha256:7d3403a8ab1a2424bec19f328e0c8db0f1b90652b0acd9a1ceb56249408b3360 - 0.0% (1.1 KB)
[#004] sha256:c1df638978971ee88015ef27b2f87a7b7094581aee1cb17352555137d588205f - 0.0% (1.11 KB)
[#005] sha256:d05cd9e2eddcc06ff31a4ba6144fbe9b4eb2346d4534c55d57ac51b4e6ecb39a - 0.0% (1.11 KB)
[#006] sha256:4921d494bc15f503d642ab7d7bd1951410391f505ac5ac7239a9f42c199df47a - 3.9% (223 MB)
[#007] sha256:deafd33cde1da5d5d72101e7ea30f212e37c77400cd9baa0b6d0229a9ca39617 - 0.0% (1.1 KB)
[#008] sha256:c87747aed14209c176447112dc7760d74d4e433819ab80e57aa039536971a9a0 - 0.0% (1.1 KB)
[#009] sha256:f6dc1fbd73a047d45fdc7889b14d4d86e28944c52f76ffd74ccd0751667d0e46 - 0.0% (1.12 KB)
Apply image 1607-RTM-amd64
2020-10-28 18:03:00 UTCInstall update ltsc2016-amd64
2020-11-11 14:26:40 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop';]
2020-11-11 21:55:47 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_VERSION=4.0.20
2020-11-11 21:55:48 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_URL=https://fastdl.mongodb.org/win32/mongodb-win32-x86_64-2008plus-ssl-4.0.20-signed.msi
2020-11-11 21:55:48 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_SHA256=f7e29506ed39ee7c0116c192f7e65a61f7c7decbe4c723aa8c6343079f28a7bb
2020-11-11 22:00:34 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:\windows\installer\*.msi -Force; Remove-Item mongo.msi -Force; Write-Host 'Complete.';
2020-11-11 22:00:35 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) VOLUME [C:\data\db C:\data\configdb]
2020-11-11 22:00:36 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) EXPOSE 27017
2020-11-11 22:00:37 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) CMD ["mongod" "--bind_ip_all"]
2020-11-11 22:04:45 UTC
2.44 GB
f7e29506ed39ee7c0116c192f7e65a61f7c7decbe4c723aa8c6343079f28a7bb
MONGO_DOWNLOAD_URLhttps://fastdl.mongodb.org/win32/mongodb-win32-x86_64-2008plus-ssl-4.0.20-signed.msi
MONGO_VERSION4.0.20
[#000] sha256:4612f6d0b889cad0ed0292fae3a0b0c8a9e49aff6dea8eb049b2386d9b07986f - 65.56% (1.6 GB)
[#001] sha256:680bbdbacf1bcbace70de5087d02d31e9dd7a22feae59f746f54dab46c1d5bda - 25.55% (639 MB)
[#002] sha256:e03cd29396986910a2aaaf968e93bebcaf4b0101821290e0560b401893615ccf - 0.0% (1.12 KB)
[#003] sha256:95826f34968840372cf7395fcfeb007c4e01790028cbf66abf9b71b1432c789f - 0.0% (1.11 KB)
[#004] sha256:ebc337e144872087cec71f834b17427501f8ad018507f711542e59af8b4b4df5 - 0.0% (1.11 KB)
[#005] sha256:8cde282dc14f2040cce3455570b4a87db9206c4a9a86bffd5d4d9877702dac85 - 0.0% (1.12 KB)
[#006] sha256:c126dd795a4db16a12293c1fe16e2d83a756751ede3f642912247cf604ce0590 - 8.89% (222 MB)
[#007] sha256:334a0c987646cd690541030ac04aaac9110da344b8306b0eab1a942c39e31fc2 - 0.0% (1.14 KB)
[#008] sha256:04587b3ede5db86dd3ebc5b15d785a4dde8df15fe927369d7d03cf487cc8d2a6 - 0.0% (1.12 KB)
[#009] sha256:a0abffb6c89c52efc79520d15108209c678abdebd595d86168e105f06d718ca1 - 0.0% (1.1 KB)
Apply image 1809-RTM-amd64
2020-11-03 03:11:34 UTCInstall update 1809-amd64
2020-11-11 14:18:42 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop';]
2020-11-11 22:00:44 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_VERSION=4.0.20
2020-11-11 22:00:45 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_URL=https://fastdl.mongodb.org/win32/mongodb-win32-x86_64-2008plus-ssl-4.0.20-signed.msi
2020-11-11 22:00:46 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_SHA256=f7e29506ed39ee7c0116c192f7e65a61f7c7decbe4c723aa8c6343079f28a7bb
2020-11-11 22:04:42 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:\windows\installer\*.msi -Force; Remove-Item mongo.msi -Force; Write-Host 'Complete.';
2020-11-11 22:04:43 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) VOLUME [C:\data\db C:\data\configdb]
2020-11-11 22:04:44 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) EXPOSE 27017
2020-11-11 22:04:45 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.