sha256:61405c91e449ed548b2ecf9ad094838366b50ee9b64da9ddfc1371cbe6cf81c1
2024-09-11 00:01:41 UTC
1.65 GB
db9caacfb85f9f37f7621759d0fad008b9d575c9974bf3e25fa0d4b243000e89
MONGO_DOWNLOAD_URLhttps://fastdl.mongodb.org/windows/mongodb-windows-x86_64-5.0.28-signed.msi
MONGO_VERSION5.0.28
[#000] sha256:2534953f34d35976fc44cd67bfdd39fdcd9e2eaae57ada0be53d5fb936cd3a0b - 82.36% (1.36 GB)
[#001] sha256:f3013849534deef500e1c93f7518201a6351d77c994980c38a0861b899c7b020 - 0.0% (1.26 KB)
[#002] sha256:88cd0379a77828b76b6fbfeddb38018e93628e67a21623634270739cdbc9adab - 0.0% (1.26 KB)
[#003] sha256:e874fabe7f479230a000e1b3fe40e55a90c88317454223623522991958e05a02 - 0.0% (1.26 KB)
[#004] sha256:740ef34d8847410c7effe2f10e8548b6afc62596da4688acc4399eae8ff7995d - 0.0% (1.26 KB)
[#005] sha256:9821891e04de04b9fa4d3ac0714935ef69986b79fb2df08dea51aeafaa300ec2 - 17.64% (299 MB)
[#006] sha256:150fc6cdd0203a04bf4eba9342eb51355438599910a77aec8cd84f2e4b51020f - 0.0% (1.26 KB)
[#007] sha256:3a19a429bfb4a736e4a208c3a727870d2a8fc03621b15ca0a15fb0b6f8c9bf81 - 0.0% (1.26 KB)
[#008] sha256:17ef90877524398af3a783ae78c928ab25df39a6cd3938fc185002fba03fc7db - 0.0% (1.26 KB)
Apply image 10.0.20348.2700
2024-09-11 00:00:54 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop';]
2024-09-11 00:00:55 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_VERSION=5.0.28
2024-09-11 00:00:56 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_URL=https://fastdl.mongodb.org/windows/mongodb-windows-x86_64-5.0.28-signed.msi
2024-09-11 00:00:57 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_SHA256=db9caacfb85f9f37f7621759d0fad008b9d575c9974bf3e25fa0d4b243000e89
2024-09-11 00:01: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', '/l*v', 'install.log', 'INSTALLLOCATION=C:\mongodb', 'ADDLOCAL=Client,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 ' 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.';
2024-09-11 00:01:38 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) VOLUME [C:\data\db C:\data\configdb]
2024-09-11 00:01:40 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) EXPOSE 27017
2024-09-11 00:01:41 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) CMD ["mongod" "--bind_ip_all"]
sha256:17c981444585f88248e91df84280ac0e984ceb3afe9dd6d1c2b604767d470cd6
2024-09-11 00:02:34 UTC
1.89 GB
db9caacfb85f9f37f7621759d0fad008b9d575c9974bf3e25fa0d4b243000e89
MONGO_DOWNLOAD_URLhttps://fastdl.mongodb.org/windows/mongodb-windows-x86_64-5.0.28-signed.msi
MONGO_VERSION5.0.28
[#000] sha256:803f4a9590cb9c635813cbd0ee89190f92d5fe4c7589711cf468879e42ce02ba - 84.6% (1.6 GB)
[#001] sha256:e218cf95b0b92fa6f5eda639bb169da02f5e525c604ff22554150747f083895e - 0.0% (1.26 KB)
[#002] sha256:235f25f6e18dc33ba8016a330b62406e14775af3390580dea9b8e4c23cdd1788 - 0.0% (1.27 KB)
[#003] sha256:e4a85cf7de08851d92bc480b4059677bfcfccac19cde4b63ccaeefaf0708b244 - 0.0% (1.31 KB)
[#004] sha256:ae568974c33ed7f891342f0954a381775ecdc10c0379c2f05694c43722a2c2e5 - 0.0% (1.3 KB)
[#005] sha256:fa154e9a5e23517c61313edfcaf5eb54f479ebe4348858dd74ea5a4f24bb7e27 - 15.4% (299 MB)
[#006] sha256:1392e81a24550ff59c4eb7bf35a1f925ac1974541f41e4b7fcaad9edaba052a3 - 0.0% (1.29 KB)
[#007] sha256:9919f9c74514e40d54c464201d5dedf35c1b6f20c75d8d45ea0791157562b4c1 - 0.0% (1.33 KB)
[#008] sha256:ab45f9888b8b354b0d487731a2c18382dbc96e02e14c59a02e7615f32f664a27 - 0.0% (1.33 KB)
Apply image 10.0.17763.6293
2024-09-11 00:01:34 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop';]
2024-09-11 00:01:36 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_VERSION=5.0.28
2024-09-11 00:01:37 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_URL=https://fastdl.mongodb.org/windows/mongodb-windows-x86_64-5.0.28-signed.msi
2024-09-11 00:01:37 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_SHA256=db9caacfb85f9f37f7621759d0fad008b9d575c9974bf3e25fa0d4b243000e89
2024-09-11 00:02: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,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 ' 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.';
2024-09-11 00:02:32 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) VOLUME [C:\data\db C:\data\configdb]
2024-09-11 00:02:33 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) EXPOSE 27017
2024-09-11 00:02:34 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.