Namespace
library
Image / Tag
mongo:7.0.12-rc1-windowsservercore-ltsc2022
Content Digest
sha256:29242fe9925b83bfcdd152d5c282e3cfa592fcbb17c1b7c58efe630295ad685e
Details
Created

2024-06-22 00:03:30 UTC

Size

2.54 GB

Content Digest
Environment
MONGO_DOWNLOAD_SHA256

f2e5ade4114f91988038ecdb022ea44e107889c8dc5124f15c58442e77b0f8f6

MONGO_DOWNLOAD_URL

https://fastdl.mongodb.org/windows/mongodb-windows-x86_64-7.0.12-rc1-signed.msi

MONGO_VERSION

7.0.12-rc1


Layers

[#000] sha256:7c76e5cf7755ce357ffb737715b0da6799a50ea468cc252c094f4d915d426b3f - 50.91% (1.29 GB)

[#001] sha256:eb373ec9afdfc5f09b9380d981e0c61f9c7b48537b887135c7c66810086e705e - 26.75% (696 MB)

[#002] sha256:90e7fdc91a91599f9f8cb32d343a28f04895f812e636fa881cce95b1014db4ce - 0.0% (1.26 KB)

[#003] sha256:92ed52bdb446ef0744ed12f237f376aa3f3df8f19608050fa31b462e21e24e97 - 0.0% (1.26 KB)

[#004] sha256:e8f2dd9243462429e90f0c3e6774833e878c438260e7e3157e0f787b81bf8dd8 - 0.0% (1.25 KB)

[#005] sha256:ff9e1432d511a33949b9b3d26ca90cb5d1e1d5cab7a1e98b079f541c9b0ecd80 - 0.0% (1.25 KB)

[#006] sha256:5d8f35f8e538579dbd4089364fc8a2cac9346119b0d362a0243528117fb0231c - 22.35% (581 MB)

[#007] sha256:2aaa9c6ecf4643d8c7aa0e52d4ef855c0b49c6c2b71f68b00f2e76af9b8591a2 - 0.0% (1.25 KB)

[#008] sha256:afe42598996d8623a645fa6697383e4459318cca0289cf9f2034e3e82dbbbf29 - 0.0% (1.26 KB)

[#009] sha256:8c4d350442c0154c89d1ad70cf080db276586d23eb0a8d62961d7ed9cb770061 - 0.0% (1.26 KB)


History
2023-06-08 12:55:20 UTC

Apply image 10.0.20348.1787

2024-06-19 19:58:05 UTC

Install update 10.0.20348.2529

2024-06-22 00:02:05 UTC

powershell -Command $ErrorActionPreference = 'Stop'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop';]

2024-06-22 00:02:06 UTC

powershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_VERSION=7.0.12-rc1

2024-06-22 00:02:07 UTC

powershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_URL=https://fastdl.mongodb.org/windows/mongodb-windows-x86_64-7.0.12-rc1-signed.msi

2024-06-22 00:02:08 UTC

powershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_SHA256=f2e5ade4114f91988038ecdb022ea44e107889c8dc5124f15c58442e77b0f8f6

2024-06-22 00:03:26 UTC

powershell -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-06-22 00:03:29 UTC

powershell -Command $ErrorActionPreference = 'Stop'; #(nop) VOLUME [C:\data\db C:\data\configdb]

2024-06-22 00:03:29 UTC

powershell -Command $ErrorActionPreference = 'Stop'; #(nop) EXPOSE 27017

2024-06-22 00:03:30 UTC

powershell -Command $ErrorActionPreference = 'Stop'; #(nop) CMD ["mongod" "--bind_ip_all"]