2024-05-29 22:04:54 UTC
2.32 GB
c16328896733bdef6b9e65ee3d4b33393bd4fec49904de911fecd2499288d5a2
MONGO_DOWNLOAD_URLhttps://fastdl.mongodb.org/windows/mongodb-windows-x86_64-5.0.27-rc0-signed.msi
MONGO_VERSION5.0.27-rc0
[#000] sha256:c9226d61d3bdbf9f09821b32f5878623b8daaa5fb4f875cb63c199f87a26d57e - 66.22% (1.54 GB)
[#001] sha256:e00cc2568ad51f25eabe6bb19ba6248a040d7622594b0d09ee77dec571d7280a - 21.23% (505 MB)
[#002] sha256:35a12b4e88ee09999db29de1c7aa4addd90e51ec874894b2eee22d7e5c863951 - 0.0% (1.29 KB)
[#003] sha256:6057ca03d9d8876a5935bd9cba61b59953d6915e7bbbc8d6d8cbd7053d5fe364 - 0.0% (1.27 KB)
[#004] sha256:6272361d81f8081883f86325f880921db11ee97e2e89debe171f075d4cf2e5d8 - 0.0% (1.27 KB)
[#005] sha256:8e51c48241b8ff9096c49323f8c09cdf66b052fc18a7d216b23c6168a479ecb0 - 0.0% (1.26 KB)
[#006] sha256:c52d665c1360cd2f3308b84db0853d551493d80725ccd4b7e0b59a6f101245ca - 12.55% (298 MB)
[#007] sha256:1dcc8397521df0d705304065e598ef15a98a1064d4ebb79b25102950910d2108 - 0.0% (1.27 KB)
[#008] sha256:860d35a35bed127ed1fa692999177018c69ff10554eb9c54d68dbb3265b26102 - 0.0% (1.26 KB)
[#009] sha256:0911d84184b150536a9ba656df2a27d42c42f183d4eb96f1eb0cc4f23fcf6b24 - 0.0% (1.27 KB)
Apply image 10.0.17763.4499
2024-05-10 20:46:44 UTCInstall update 10.0.17763.5820
2024-05-29 22:01:43 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop';]
2024-05-29 22:01:46 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_VERSION=5.0.27-rc0
2024-05-29 22:01:46 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_URL=https://fastdl.mongodb.org/windows/mongodb-windows-x86_64-5.0.27-rc0-signed.msi
2024-05-29 22:01:47 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_SHA256=c16328896733bdef6b9e65ee3d4b33393bd4fec49904de911fecd2499288d5a2
2024-05-29 22:04:51 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-05-29 22:04:52 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) VOLUME [C:\data\db C:\data\configdb]
2024-05-29 22:04:53 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) EXPOSE 27017
2024-05-29 22:04:54 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.