2021-08-25 19:57:34 UTC
2.71 GB
fb6dee11a18d2aea6050fad34ae17ce0b4139a32441bd8b40216321b57544cf9
MONGO_DOWNLOAD_URLhttps://fastdl.mongodb.org/win32/mongodb-win32-x86_64-2008plus-ssl-4.0.26-signed.msi
MONGO_VERSION4.0.26
[#000] sha256:4612f6d0b889cad0ed0292fae3a0b0c8a9e49aff6dea8eb049b2386d9b07986f - 58.98% (1.6 GB)
[#001] sha256:c67ded6868b61d392a0c096f911563fd6bc0bc3ed4fe401d077b3718a1b0cdaf - 33.21% (923 MB)
[#002] sha256:985da5cbc0735e1c422e766af23125ba345f431cb337ea43ec32298d0bb8e4ea - 0.0% (1.26 KB)
[#003] sha256:11b2030cce79702cffae89343db660434c677ab51d520543512a90716de387d0 - 0.0% (1.26 KB)
[#004] sha256:fadcaa76388e1e35ff45b3cd2874c68535e8b159255b30bff3af383d85f1f3b3 - 0.0% (1.28 KB)
[#005] sha256:0d32b64399a1ba17621b44cb6b0306aa18d630d03bd74343cc0d9069c26ed818 - 0.0% (1.28 KB)
[#006] sha256:814af7d43ac0556100a38384a49ef38be1888da8471dc08d38554638def1941c - 7.81% (217 MB)
[#007] sha256:6e32ff6d36f3f325bef2970be857a670eba3fb7bd378c24069420fb7c44ebaab - 0.0% (1.39 KB)
[#008] sha256:529cbe218accc251b44ba76d8f1b40bb6587a4c7953ad8810f9faaed31e3080a - 0.0% (1.39 KB)
[#009] sha256:160be0ebdd478aeb3caa2b3a5f87a2a1f7ca7b188fb48bcc075918c3873cca44 - 0.0% (1.38 KB)
Apply image 1809-RTM-amd64
2021-08-05 19:44:34 UTCInstall update 1809-amd64
2021-08-25 13:46:35 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop';]
2021-08-25 19:55:29 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_VERSION=4.0.26
2021-08-25 19:55:30 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_URL=https://fastdl.mongodb.org/win32/mongodb-win32-x86_64-2008plus-ssl-4.0.26-signed.msi
2021-08-25 19:55:31 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_SHA256=fb6dee11a18d2aea6050fad34ae17ce0b4139a32441bd8b40216321b57544cf9
2021-08-25 19:57: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'); 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', '/l*v', 'install.log', 'INSTALLLOCATION=C:\mongodb', 'ADDLOCAL=Client,ImportExportTools,MiscellaneousTools,MonitoringTools,Router,ServerNoService' ); if (-Not (Test-Path C:\mongodb\bin\mongo.exe -PathType Leaf)) { Write-Host 'Installer failed!'; Get-Content install.log; exit 1; }; Remove-Item install.log; $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.';
2021-08-25 19:57:32 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) VOLUME [C:\data\db C:\data\configdb]
2021-08-25 19:57:33 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) EXPOSE 27017
2021-08-25 19:57:34 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) CMD ["mongod" "--bind_ip_all"]
2021-08-25 19:59:45 UTC
6.05 GB
fb6dee11a18d2aea6050fad34ae17ce0b4139a32441bd8b40216321b57544cf9
MONGO_DOWNLOAD_URLhttps://fastdl.mongodb.org/win32/mongodb-win32-x86_64-2008plus-ssl-4.0.26-signed.msi
MONGO_VERSION4.0.26
[#000] sha256:3889bb8d808bbae6fa5a33e07093e65c31371bcf9e4c38c21be6b9af52ad1548 - 62.63% (3.79 GB)
[#001] sha256:c427f892fe74603ae09d4e49b25f8f7046f957054034dc9f462e0e88d7bffaa5 - 33.87% (2.05 GB)
[#002] sha256:a869803fc3d8292f0fe1bc6ed35e1ceedbd7c797a1486767a55f88c6c28ed4c5 - 0.0% (1.39 KB)
[#003] sha256:725630c746549589bf9603273b7ecac418e770c44dd65a237bf0ae4790dbef56 - 0.0% (1.39 KB)
[#004] sha256:16fbae4d2d3f17b748b6e72d81b3bbf9a2bda48ed40b7ff5e6ec33a4f08d60dc - 0.0% (1.4 KB)
[#005] sha256:66f7f6b3e5de862842719ebfdcc3391a3d1df6d4c48f23dce162151407403b88 - 0.0% (1.38 KB)
[#006] sha256:addca4776e86d87cdb3e9f6adb5969b9f800151c177c04bcbafa6c99620a48b3 - 3.5% (217 MB)
[#007] sha256:5ebedcbea5eff7c2aae716b1aedaa58b622437bbd866464e3e916abaf1051bd1 - 0.0% (1.39 KB)
[#008] sha256:8364f1824b01ef8489e5581bbfd1cd519ad78a2520986cdf004d5492130d0467 - 0.0% (1.38 KB)
[#009] sha256:6ae48def71018ebefbca57ad777e941c37e9c96659091c7d2efef7eca7f18656 - 0.0% (1.39 KB)
Apply image 1607-RTM-amd64
2021-08-01 08:52:00 UTCInstall update ltsc2016-amd64
2021-08-25 13:59:32 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop';]
2021-08-25 19:57:40 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_VERSION=4.0.26
2021-08-25 19:57:41 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_URL=https://fastdl.mongodb.org/win32/mongodb-win32-x86_64-2008plus-ssl-4.0.26-signed.msi
2021-08-25 19:57:42 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_SHA256=fb6dee11a18d2aea6050fad34ae17ce0b4139a32441bd8b40216321b57544cf9
2021-08-25 19:59:41 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', '/l*v', 'install.log', 'INSTALLLOCATION=C:\mongodb', 'ADDLOCAL=Client,ImportExportTools,MiscellaneousTools,MonitoringTools,Router,ServerNoService' ); if (-Not (Test-Path C:\mongodb\bin\mongo.exe -PathType Leaf)) { Write-Host 'Installer failed!'; Get-Content install.log; exit 1; }; Remove-Item install.log; $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.';
2021-08-25 19:59:42 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) VOLUME [C:\data\db C:\data\configdb]
2021-08-25 19:59:44 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) EXPOSE 27017
2021-08-25 19:59: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.