2023-06-30 23:27:45 UTC
2.02 GB
22f5deb75887f232088fffb1fa90bdeb27a4492b9edd6982c22c03fc58d00b84
MONGO_DOWNLOAD_URLhttps://fastdl.mongodb.org/windows/mongodb-windows-x86_64-6.0.8-rc0-signed.msi
MONGO_VERSION6.0.8-rc0
[#000] sha256:b1471cc22404d036d95728a9c37c1e3f025a1f0a331072c8613e38cf8f7ff1ed - 76.12% (1.54 GB)
[#001] sha256:ed9634b679e6c602a6aaf0bae51625e7ca041489c77150db557640304f51bb37 - 0.0% (1.37 KB)
[#002] sha256:5a68b89cf4e075f03979eea4227b8c80e7babc4d8760cfb33ea8d723004343e1 - 0.0% (1.26 KB)
[#003] sha256:d827333a25147271d04b82b29a77a86b769ec19f8915beaa8858fff85fe27497 - 0.0% (1.28 KB)
[#004] sha256:ba844565d07980b245bf6adf7627449cc29229413ee7102f94dac3f21d777ebc - 0.0% (1.35 KB)
[#005] sha256:07cab37d26363c7e726d6cca02afa58de8dcab52f2619738e3a445c8468f160d - 23.88% (494 MB)
[#006] sha256:24177c85f2dea37c2195edff8d89763cf91fb6456d73bba5c259b265a1c7b434 - 0.0% (1.26 KB)
[#007] sha256:d9a38239b17fc9b0a81c5848e52072a6b76baba7c59da6a1fc3d2211775948e9 - 0.0% (1.25 KB)
[#008] sha256:aa695f8edc311db444589548ef960900b72547f0d888c5d848b52043a3ae796f - 0.0% (1.26 KB)
Apply image 10.0.17763.4499
2023-06-24 02:28:43 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop';]
2023-06-30 23:25:48 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_VERSION=6.0.8-rc0
2023-06-30 23:25:49 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_URL=https://fastdl.mongodb.org/windows/mongodb-windows-x86_64-6.0.8-rc0-signed.msi
2023-06-30 23:25:50 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_SHA256=22f5deb75887f232088fffb1fa90bdeb27a4492b9edd6982c22c03fc58d00b84
2023-06-30 23:27: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=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-06-30 23:27:44 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) VOLUME [C:\data\db C:\data\configdb]
2023-06-30 23:27:45 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) EXPOSE 27017
2023-06-30 23:27: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.