2024-10-09 23:08:43 UTC
2.16 GB
5aa85635f0b1f2f4e0a1d22410d507c8f4f1d9de0fa640fea1bcb5d8e4a6dee5
MONGO_DOWNLOAD_URLhttps://fastdl.mongodb.org/windows/mongodb-windows-x86_64-6.0.18-signed.msi
MONGO_VERSION6.0.18
[#000] sha256:2534953f34d35976fc44cd67bfdd39fdcd9e2eaae57ada0be53d5fb936cd3a0b - 62.91% (1.36 GB)
[#001] sha256:3445b497121718058765c341117a0c1522c51cd65bec8c517981a745ff91f0bf - 14.51% (322 MB)
[#002] sha256:7b21086a23ffbec3425e4e3d2cf4a2c4c3b9f254f4f02bc172ab30acdbfe1117 - 0.0% (1.26 KB)
[#003] sha256:3f619110b437e7efc0650f1655dbd45e864d22942abd700ee897ee320100b73c - 0.0% (1.25 KB)
[#004] sha256:d5432e00d9a5b9300c6f52eb323236309f19127cb1673336804f649da2c6a72b - 0.0% (1.26 KB)
[#005] sha256:f16f405b4e5d6427d651700bf7d48a0b28de813550e4bdef2b1c407d9ff54589 - 0.0% (1.25 KB)
[#006] sha256:04a99a37355d0e8bd3c12e5e1fdc612b40a8f75a58befc5b77f4227436bf1e95 - 22.58% (500 MB)
[#007] sha256:fe3dc4a133903811c386e4acca4b387c16b43479501dcd0d24aa6635c0fd9a9c - 0.0% (1.25 KB)
[#008] sha256:9aee0dbe6fbc50f6836e97bb41aef67cd77b9ee3bbf7891b4519610448b26eb9 - 0.0% (1.25 KB)
[#009] sha256:45c108702c0f02887bbefb3f43f8d49db6326729054c87fec5a602ae501a343c - 0.0% (1.25 KB)
Apply image 10.0.20348.2700
2024-10-06 04:56:48 UTCInstall update 10.0.20348.2762
2024-10-09 23:07:21 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop';]
2024-10-09 23:07:22 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_VERSION=6.0.18
2024-10-09 23:07:23 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_URL=https://fastdl.mongodb.org/windows/mongodb-windows-x86_64-6.0.18-signed.msi
2024-10-09 23:07:24 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_SHA256=5aa85635f0b1f2f4e0a1d22410d507c8f4f1d9de0fa640fea1bcb5d8e4a6dee5
2024-10-09 23:08:39 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.';
2024-10-09 23:08:41 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) VOLUME [C:\data\db C:\data\configdb]
2024-10-09 23:08:42 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) EXPOSE 27017
2024-10-09 23:08:43 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) CMD ["mongod" "--bind_ip_all"]
2024-10-09 23:11:06 UTC
2.26 GB
5aa85635f0b1f2f4e0a1d22410d507c8f4f1d9de0fa640fea1bcb5d8e4a6dee5
MONGO_DOWNLOAD_URLhttps://fastdl.mongodb.org/windows/mongodb-windows-x86_64-6.0.18-signed.msi
MONGO_VERSION6.0.18
[#000] sha256:803f4a9590cb9c635813cbd0ee89190f92d5fe4c7589711cf468879e42ce02ba - 70.89% (1.6 GB)
[#001] sha256:eec1ab8e4a3936959c2381d3aaa9aaf9caf01f82fb701f2b4c3cc3dbf6d035dd - 7.48% (173 MB)
[#002] sha256:295af6f50bc8fd6b191a39e80f635690123f85817825fb8a5827e0b1310b26d8 - 0.0% (1.26 KB)
[#003] sha256:de14b855679a638829e03f98c4b4f3a1c9a06ec7d69f73bf4baff80390e0991b - 0.0% (1.27 KB)
[#004] sha256:7b54bb688f0ae22db780cf4df2b1287d7b8ba7e77b92af04986b539fbab23fe2 - 0.0% (1.27 KB)
[#005] sha256:e67474bbf5ff984c7722fbf3e9a5b37751931d382c9e935993dda96a1c792f66 - 0.0% (1.26 KB)
[#006] sha256:9047d2af0f445c012f455ccecb7c7627aa2f051f14b60759fc7221c0e747c6ae - 21.63% (500 MB)
[#007] sha256:2b7c043c132e5bb4a8dacb24091a7b4b369ef259d1d1237e96b0d3cd610a93a5 - 0.0% (1.26 KB)
[#008] sha256:60ee816edcee897216dd54817c15531a6b091172a7b85a33d450654388e7ba71 - 0.0% (1.27 KB)
[#009] sha256:d5f1a727695b2399e5c3c52d6274006242f5c5d81f52f30bc9e2c0f902d8f20c - 0.0% (1.27 KB)
Apply image 10.0.17763.6293
2024-10-04 21:48:44 UTCInstall update 10.0.17763.6414
2024-10-09 23:08:54 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop';]
2024-10-09 23:08:57 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_VERSION=6.0.18
2024-10-09 23:08:58 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_URL=https://fastdl.mongodb.org/windows/mongodb-windows-x86_64-6.0.18-signed.msi
2024-10-09 23:08:58 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_SHA256=5aa85635f0b1f2f4e0a1d22410d507c8f4f1d9de0fa640fea1bcb5d8e4a6dee5
2024-10-09 23:11:02 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.';
2024-10-09 23:11:04 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) VOLUME [C:\data\db C:\data\configdb]
2024-10-09 23:11:05 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) EXPOSE 27017
2024-10-09 23:11:06 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.