2024-06-21 00:11:56 UTC
2.64 GB
f2e5ade4114f91988038ecdb022ea44e107889c8dc5124f15c58442e77b0f8f6
MONGO_DOWNLOAD_URLhttps://fastdl.mongodb.org/windows/mongodb-windows-x86_64-7.0.12-rc1-signed.msi
MONGO_VERSION7.0.12-rc1
[#000] sha256:c9226d61d3bdbf9f09821b32f5878623b8daaa5fb4f875cb63c199f87a26d57e - 58.32% (1.54 GB)
[#001] sha256:56a5fd77f8cb6921d3e283f98213bf8c163d3502a75b4a8e4a809a15654f7d1a - 20.14% (544 MB)
[#002] sha256:e4f217756d460a509479382a53090531f7eda36085fd27c5cd2773f3d03de04c - 0.0% (1.29 KB)
[#003] sha256:7b7e370f5a0274ab89adb7c4c10682d6af62590b0a460f4cd4591f56712f29fe - 0.0% (1.26 KB)
[#004] sha256:2a57e6f4e8ab7fb82a765ddc1f74a45e5761fced43b7fdc52f176fe566016972 - 0.0% (1.27 KB)
[#005] sha256:0d6cd3fb67279a883e42a7600f8175de9c9457a13a4b5b86f72c2f28fd97116f - 0.0% (1.27 KB)
[#006] sha256:16d70fb6cb19664cf06294224326075be1b0108de02a2d1080bd8902cc1bc749 - 21.54% (581 MB)
[#007] sha256:45581db623ee23e2a60ee10db68c1dfb4243340588f07827ad19169b01bc3bb8 - 0.0% (1.29 KB)
[#008] sha256:c3d54d46e9ccdf1d6354bc0760da4244cff6a1f3a87a5694f5f2dfbeca772ccf - 0.0% (1.3 KB)
[#009] sha256:6944b586143e625aad7981de060702f16872c538471b676f192fb3568edcef54 - 0.0% (1.27 KB)
Apply image 10.0.17763.4499
2024-06-07 11:19:50 UTCInstall update 10.0.17763.5936
2024-06-21 00:10:24 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop';]
2024-06-21 00:10:25 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_VERSION=7.0.12-rc1
2024-06-21 00:10:26 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_URL=https://fastdl.mongodb.org/windows/mongodb-windows-x86_64-7.0.12-rc1-signed.msi
2024-06-21 00:10:27 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_SHA256=f2e5ade4114f91988038ecdb022ea44e107889c8dc5124f15c58442e77b0f8f6
2024-06-21 00:11:53 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-06-21 00:11:54 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) VOLUME [C:\data\db C:\data\configdb]
2024-06-21 00:11:55 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) EXPOSE 27017
2024-06-21 00:11:56 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.