2023-11-16 03:30:29 UTC
2.33 GB
7ec97aa108c6af587e77a49479b4e7239da6ccac2903e163ae984797b3afea14
MONGO_DOWNLOAD_URLhttps://fastdl.mongodb.org/windows/mongodb-windows-x86_64-7.0.3-signed.msi
MONGO_VERSION7.0.3
[#000] sha256:7c76e5cf7755ce357ffb737715b0da6799a50ea468cc252c094f4d915d426b3f - 55.56% (1.29 GB)
[#001] sha256:7989ef2c4cfb06d845746a3c3660481ea84d3f5c8216041855ce528f0ac4015c - 19.93% (475 MB)
[#002] sha256:d1a73dc3dec59ae25ff1232f5fdf2ab39df387f3bf86ba48717ff271d76c2feb - 0.0% (1.39 KB)
[#003] sha256:78c78e661210df7e9eb5ab41db3aca66d8800d6617c3cf4178125ed3a99b433f - 0.0% (1.39 KB)
[#004] sha256:f641ede520e750d1c494a6c9b7222fae54bec5b73cc6c8c5b0bc1a38a911d3db - 0.0% (1.4 KB)
[#005] sha256:3bee5e2ad383fb7ca0e114ad9dbfec41c4d37be5d9dd7e9081347d24581bc89f - 0.0% (1.38 KB)
[#006] sha256:c54538a1ac7e0062cb8e2c9ddb6d5ab5accdc3b72a93c74f403ba007b60b200b - 24.5% (584 MB)
[#007] sha256:5052447881a901f21960dfe425b55725b550263b1d3c23864b551154ae4d987c - 0.0% (1.28 KB)
[#008] sha256:4f073aae9d8bdfa66feadd8697a216b14877c0b9ff347217f211a85746da0d5a - 0.0% (1.29 KB)
[#009] sha256:e68026f2e761421e59e2cfb6162ffcce6a54d03ea9a269ea4fad3e26650fe542 - 0.0% (1.29 KB)
Apply image 10.0.20348.1787
2023-11-09 06:47:20 UTCInstall update 10.0.20348.2113
2023-11-16 03:18:08 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop';]
2023-11-16 03:28:06 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_VERSION=7.0.3
2023-11-16 03:28:07 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_URL=https://fastdl.mongodb.org/windows/mongodb-windows-x86_64-7.0.3-signed.msi
2023-11-16 03:28:08 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_SHA256=7ec97aa108c6af587e77a49479b4e7239da6ccac2903e163ae984797b3afea14
2023-11-16 03:30:25 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=MiscellaneousTools,Router,ServerNoService' ); if (-Not (Test-Path C:\mongodb\bin\mongod.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 ' mongod --version'; mongod --version; Write-Host 'Removing ...'; Remove-Item C:\windows\installer\*.msi -Force; Remove-Item mongo.msi -Force; Write-Host 'Complete.';
2023-11-16 03:30:27 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) VOLUME [C:\data\db C:\data\configdb]
2023-11-16 03:30:28 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) EXPOSE 27017
2023-11-16 03:30:29 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) CMD ["mongod" "--bind_ip_all"]
2023-11-16 03:34:01 UTC
2.49 GB
7ec97aa108c6af587e77a49479b4e7239da6ccac2903e163ae984797b3afea14
MONGO_DOWNLOAD_URLhttps://fastdl.mongodb.org/windows/mongodb-windows-x86_64-7.0.3-signed.msi
MONGO_VERSION7.0.3
[#000] sha256:c9226d61d3bdbf9f09821b32f5878623b8daaa5fb4f875cb63c199f87a26d57e - 61.83% (1.54 GB)
[#001] sha256:4f7bb9e009deb881cb90e8b4318258e03882de9bc9b312b763654b59cd13d0bb - 15.24% (388 MB)
[#002] sha256:61e4111e1324ff2110def2382c3796071edd92a76a262efa6c0657d549b64496 - 0.0% (1.38 KB)
[#003] sha256:c273721fe0b05301e704fdd9d1606d47e4fe666ff0f05f71608ecc8401fa5b18 - 0.0% (1.39 KB)
[#004] sha256:c2b910b85a605191d57082623f86494133c0d19fce3d9e3e5aa2c8e39572c59a - 0.0% (1.38 KB)
[#005] sha256:f916242dbff0a3d501fe7d80ea2933ecc1c241c99a01a0854783a9d41fb77210 - 0.0% (1.29 KB)
[#006] sha256:63a3f92692d5283f8944ec68df34ed56efb1554e439f38d23ce52aa6953e0b9a - 22.94% (584 MB)
[#007] sha256:bc4f24e60fb47b09e794a4b4c78f8a3341cf3d3bfcb22706763ea8dc8ba44ce3 - 0.0% (1.29 KB)
[#008] sha256:492f36d6dc525bd24c4738240858d97ff4120a20e465482bd6e2536136c37eea - 0.0% (1.3 KB)
[#009] sha256:a0c3d4605df2d7cbc830fafe2e41124be682729e179db533449642c01cc68765 - 0.0% (1.27 KB)
Apply image 10.0.17763.4499
2023-11-09 17:56:40 UTCInstall update 10.0.17763.5122
2023-11-16 03:20:52 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop';]
2023-11-16 03:30:49 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_VERSION=7.0.3
2023-11-16 03:30:51 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_URL=https://fastdl.mongodb.org/windows/mongodb-windows-x86_64-7.0.3-signed.msi
2023-11-16 03:30:52 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_SHA256=7ec97aa108c6af587e77a49479b4e7239da6ccac2903e163ae984797b3afea14
2023-11-16 03:33:55 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=MiscellaneousTools,Router,ServerNoService' ); if (-Not (Test-Path C:\mongodb\bin\mongod.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 ' mongod --version'; mongod --version; Write-Host 'Removing ...'; Remove-Item C:\windows\installer\*.msi -Force; Remove-Item mongo.msi -Force; Write-Host 'Complete.';
2023-11-16 03:33:58 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) VOLUME [C:\data\db C:\data\configdb]
2023-11-16 03:33:59 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) EXPOSE 27017
2023-11-16 03:34:01 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.