Namespace
library
Image / Tag
mongo:7.0.15-windowsservercore-1809
Content Digest
sha256:d50e6ff9c6600a450d44f4649b381bc948ba662fa5d0a85273b1cf5beae0793f
Details
Created

2024-12-11 20:42:56 UTC

Size

2.45 GB

Content Digest
Environment
MONGO_DOWNLOAD_SHA256

db61d1e382ab03ee98dcef1a65c4065efc4eb9eba2733852828670cfce23db3e

MONGO_DOWNLOAD_URL

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

MONGO_VERSION

7.0.15


Layers

[#000] sha256:803f4a9590cb9c635813cbd0ee89190f92d5fe4c7589711cf468879e42ce02ba - 65.52% (1.6 GB)

[#001] sha256:3308b54d35b61854238974280a5b0ecc72a98e2ead17d04f42770a7b35407090 - 11.19% (280 MB)

[#002] sha256:40519982206337027ff394d4749fb7f3006262edf6dee2addf959b768fa017b4 - 0.0% (1.27 KB)

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

[#004] sha256:0770a06ad529b478749ce5e3b8d9bca472293346c2fa8f5c8ad62d93202480c4 - 0.0% (1.27 KB)

[#005] sha256:cd2947d5007c0248af30aee4be6762ed3a6f08e912d9b4bc25c38cd0f385156b - 0.0% (1.26 KB)

[#006] sha256:72ae9264f42a0f7b7520d485395b6e356191337753f05bf7d9f39cad7ce1d56f - 23.29% (583 MB)

[#007] sha256:3ecc8127ab44086dde7b26270113a07c3d7f982c42adab395bb7419528e17207 - 0.0% (1.26 KB)

[#008] sha256:dafa24b2e9555d4337c19b1831d718f8d0d8ee3a590c0402f0cc3c074584c178 - 0.0% (1.27 KB)

[#009] sha256:6753c6ec7416a48da18a28782167f4c1b85dda7c0cfaeb680a86fef94c60a40e - 0.0% (1.26 KB)


History
2024-09-06 01:15:31 UTC

Apply image 10.0.17763.6293

2024-12-05 05:10:22 UTC

Install update 10.0.17763.6659

2024-12-11 20:40:50 UTC

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

2024-12-11 20:40:51 UTC

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

2024-12-11 20:40:52 UTC

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

2024-12-11 20:40:53 UTC

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

2024-12-11 20:42:54 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-12-11 20:42:55 UTC

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

2024-12-11 20:42:55 UTC

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

2024-12-11 20:42:56 UTC

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