2023-06-30 23:17:48 UTC
1.9 GB
751c87693a7a232c76d3bbfe0208a56ba8c946b9ca640001d46575e3e96c6cfe
MONGO_DOWNLOAD_URLhttps://fastdl.mongodb.org/windows/mongodb-windows-x86_64-7.0.0-rc6-signed.msi
MONGO_VERSION7.0.0-rc6
[#000] sha256:0ce49598e7371c2c318cfa408f639c917d1f43843fb9e0a3316db1ba7fbb14db - 69.87% (1.33 GB)
[#001] sha256:369acdd1cf7c4d89f87cf3df6c1a935d83dad0afd57c96dcd7251a04481546a0 - 0.0% (1.26 KB)
[#002] sha256:2da075f5eec43bfdc3f2c4b81648bfad6319cb3e27b6772cf749d3255692a0e7 - 0.0% (1.38 KB)
[#003] sha256:d123a2576f3ede145cdc1cf2459ddc755ff85626da68c4515ec2e24da5cbfd0a - 0.0% (1.38 KB)
[#004] sha256:e4f86cc744683d1c2e0de5e242258f7ed41d8d96abebab9f693d1ad58fc739ec - 0.0% (1.39 KB)
[#005] sha256:0575dd749f697ee8493d97e0671efb9b6ff6b6c9e52cbe7958fa8fdfa8de8ca7 - 30.13% (587 MB)
[#006] sha256:162f058dcf7df948cfd18c33074d6bdfaa752d78c88151b1ebaf9f593db240e3 - 0.0% (1.32 KB)
[#007] sha256:94a34c851108bc372213e7fdffc1e3bcb24c99b5e35dd79550e4b6df71460ced - 0.0% (1.34 KB)
[#008] sha256:4177e84b48b5d1ecd8b840bea4868bf81d82a49a6a415d1448e50db663bb500a - 0.0% (1.36 KB)
Apply image 10.0.20348.1787
2023-06-24 02:25:59 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop';]
2023-06-30 23:15:25 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_VERSION=7.0.0-rc6
2023-06-30 23:15:26 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_URL=https://fastdl.mongodb.org/windows/mongodb-windows-x86_64-7.0.0-rc6-signed.msi
2023-06-30 23:15:27 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_SHA256=751c87693a7a232c76d3bbfe0208a56ba8c946b9ca640001d46575e3e96c6cfe
2023-06-30 23:17:44 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:17:46 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) VOLUME [C:\data\db C:\data\configdb]
2023-06-30 23:17:47 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) EXPOSE 27017
2023-06-30 23:17:48 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.