2024-05-31 01:00:17 UTC
2.74 GB
2d8957d81bec91efad406b651c92223d650b3a0c59e41a9e2ff2b3b8a0adf870
MONGO_DOWNLOAD_URLhttps://fastdl.mongodb.org/windows/mongodb-windows-x86_64-8.0.0-rc6-signed.msi
MONGO_VERSION8.0.0-rc6
[#000] sha256:c9226d61d3bdbf9f09821b32f5878623b8daaa5fb4f875cb63c199f87a26d57e - 56.1% (1.54 GB)
[#001] sha256:e00cc2568ad51f25eabe6bb19ba6248a040d7622594b0d09ee77dec571d7280a - 17.98% (505 MB)
[#002] sha256:6b64541c9cdcadf0bd20f0dc5123bbd139c00578901bfbca8062998ad5b614e4 - 0.0% (1.29 KB)
[#003] sha256:26cf00245e6b0cbfc96b3a59b46957d61042938ed1455a5368c0f6b440f7ffc7 - 0.0% (1.26 KB)
[#004] sha256:7a18e1a0f4c8b3b22502e0d9f5d378fb584708c473ac2a9f2ff8751e1d3d2737 - 0.0% (1.25 KB)
[#005] sha256:b17608583c50b1c3cba76f3874c459cedfbe041606a981a7fd14cf9ddfdc2773 - 0.0% (1.26 KB)
[#006] sha256:76ce15697f5fee1125217465f869bf6736c8c6703a7d005654918c61b6a703e3 - 25.91% (727 MB)
[#007] sha256:5a22e09769f5a5512842bde9ab8a1d1d16bc572c7b2cdf0a4d8491e0f6fd1286 - 0.0% (1.26 KB)
[#008] sha256:0a2b1fc70eb05b7e63f4ab41234962555eb40208f58b8785094b54fe8dedd561 - 0.0% (1.27 KB)
[#009] sha256:27bf0be19a01b7f48b643ae18e9db4eafbddac9d43a88b59b9833506d67465a4 - 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-31 00:56:52 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop';]
2024-05-31 00:56:54 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_VERSION=8.0.0-rc6
2024-05-31 00:56:54 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_URL=https://fastdl.mongodb.org/windows/mongodb-windows-x86_64-8.0.0-rc6-signed.msi
2024-05-31 00:56:55 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_SHA256=2d8957d81bec91efad406b651c92223d650b3a0c59e41a9e2ff2b3b8a0adf870
2024-05-31 01:00:15 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-05-31 01:00:16 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) VOLUME [C:\data\db C:\data\configdb]
2024-05-31 01:00:16 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) EXPOSE 27017
2024-05-31 01:00:17 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.