2024-05-15 22:01:49 UTC
2.67 GB
27e4d4a3912e2639a5bc56a4bc2417eb7d32e23c2be785cdc3f767585d884d11
MONGO_DOWNLOAD_URLhttps://fastdl.mongodb.org/windows/mongodb-windows-x86_64-8.0.0-rc4-signed.msi
MONGO_VERSION8.0.0-rc4
[#000] sha256:7c76e5cf7755ce357ffb737715b0da6799a50ea468cc252c094f4d915d426b3f - 48.45% (1.29 GB)
[#001] sha256:ba03114511317f14392dd2ac806678d1f79c73a8a7e0bc64013540e54c22020f - 25.26% (691 MB)
[#002] sha256:c2c7619623c028b7046d59cd0c22399212cf90f96a5385c420859c62ac25347c - 0.0% (1.27 KB)
[#003] sha256:3e071b31485a05edc984ddcfaf9615788925d986d402206a20e6a34a7a804545 - 0.0% (1.26 KB)
[#004] sha256:2c627fd7a4003bf8049c996eb366791d046d8734a6b560bcbc1e5451e3009f0f - 0.0% (1.26 KB)
[#005] sha256:b75d9def9a12fd3b7b65676e1c9103dfd53090a817eb65f7b53ac5149df55997 - 0.0% (1.26 KB)
[#006] sha256:e608a524a8dae07b8623b68a411ea5d6b661c936426f888f6450d1a439de6f8d - 26.28% (718 MB)
[#007] sha256:97aa3083c7d1a78e3468b7b1584db7a05ae55d1d35ae974025c9a32e4476b81f - 0.0% (1.26 KB)
[#008] sha256:4bb88694add70cdf6494330e125f92e5d8763d428da190e66dd80397b3fe0c74 - 0.0% (1.26 KB)
[#009] sha256:c3c29bdfa4a8ce4cc3c0553206c2cfe8249d4cf74e5877bc35d376bded7c6270 - 0.0% (1.26 KB)
Apply image 10.0.20348.1787
2024-05-10 20:40:01 UTCInstall update 10.0.20348.2461
2024-05-15 21:59:59 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop';]
2024-05-15 22:00:00 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_VERSION=8.0.0-rc4
2024-05-15 22:00:01 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_URL=https://fastdl.mongodb.org/windows/mongodb-windows-x86_64-8.0.0-rc4-signed.msi
2024-05-15 22:00:01 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_SHA256=27e4d4a3912e2639a5bc56a4bc2417eb7d32e23c2be785cdc3f767585d884d11
2024-05-15 22:01:45 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-15 22:01:47 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) VOLUME [C:\data\db C:\data\configdb]
2024-05-15 22:01:48 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) EXPOSE 27017
2024-05-15 22:01:49 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.