2023-11-16 03:20:34 UTC
2.33 GB
83bf88e570063eabb56e0c244a85240620e937273deecfbc9e9c5090ada4ebbc
MONGO_DOWNLOAD_URLhttps://fastdl.mongodb.org/windows/mongodb-windows-x86_64-7.0.4-rc0-signed.msi
MONGO_VERSION7.0.4-rc0
[#000] sha256:7c76e5cf7755ce357ffb737715b0da6799a50ea468cc252c094f4d915d426b3f - 55.54% (1.29 GB)
[#001] sha256:7989ef2c4cfb06d845746a3c3660481ea84d3f5c8216041855ce528f0ac4015c - 19.93% (475 MB)
[#002] sha256:d1a73dc3dec59ae25ff1232f5fdf2ab39df387f3bf86ba48717ff271d76c2feb - 0.0% (1.39 KB)
[#003] sha256:550757686531f90543e3bcc17940e8cd63c58a6402a1d2e0be4cf834428e5361 - 0.0% (1.27 KB)
[#004] sha256:45e244319c0739dc49eb12f4a67244e33d38565f9596dfe938fed25b5483a516 - 0.0% (1.26 KB)
[#005] sha256:0f4e58056b3acbed6b9c83b84dcf7b23a6f8262e8febed43f0c8fabfe6c2233c - 0.0% (1.26 KB)
[#006] sha256:d503e561588826be34306180bf03bd44d0a52f237227061d4db32426c829d311 - 24.53% (585 MB)
[#007] sha256:b7ecf1e6f6bddbe003073de87b2949556056878b7d4d2f7aef79fd484f434032 - 0.0% (1.38 KB)
[#008] sha256:a610811056356a2a5a2c92ba5758d22d4467e0bf3b7b56999b5cd132f8efb4f2 - 0.0% (1.34 KB)
[#009] sha256:17060af084e8808d426650d6a9e34408568bd45b9c2c3c080add7847748caea5 - 0.0% (1.38 KB)
Apply image 10.0.20348.1787
2023-11-09 06:47:20 UTCInstall update 10.0.20348.2113
2023-11-16 03:18:08 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop';]
2023-11-16 03:18:09 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_VERSION=7.0.4-rc0
2023-11-16 03:18:10 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_URL=https://fastdl.mongodb.org/windows/mongodb-windows-x86_64-7.0.4-rc0-signed.msi
2023-11-16 03:18:11 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_SHA256=83bf88e570063eabb56e0c244a85240620e937273deecfbc9e9c5090ada4ebbc
2023-11-16 03:20:29 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-11-16 03:20:31 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) VOLUME [C:\data\db C:\data\configdb]
2023-11-16 03:20:33 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) EXPOSE 27017
2023-11-16 03:20: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.