Namespace
library
Image / Tag
mongo:6.0.19-windowsservercore-1809
Content Digest
sha256:6dcbe0f63b4b20016ef99fa3501042d34a6683e2d0320af716918b647b65be01
Details
Created

2025-01-14 23:40:26 UTC

Size

2.47 GB

Content Digest
Environment
MONGO_DOWNLOAD_SHA256

2d9f5555d820c1b6a3f3177f0a73a4f9e9b3a7f1275d2aa3122a2ecc3a1b31a2

MONGO_DOWNLOAD_URL

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

MONGO_VERSION

6.0.19


Layers

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

[#001] sha256:09e6adf68d473b439b895dbef289349826f793d13a35d136c1e4a98b09d23cd4 - 15.17% (383 MB)

[#002] sha256:e9be94f029167381344fd6e2aa7c6031ea427bb0f0be44bd35e5e74c6e051fd1 - 0.0% (1.3 KB)

[#003] sha256:7a076fe47f57bae71da5b3d46296337e2052314c1cfe2d7f4ac7fd45d1e35d08 - 0.0% (1.27 KB)

[#004] sha256:dd270d739d0fa179f7b79e460b4887c0e6aba5dc0a95c9df70574159660d8cd7 - 0.0% (1.26 KB)

[#005] sha256:84cb4c02a02f76cd058f63e066e01fd223bfa4db863ab6b5709cba628dafb016 - 0.0% (1.27 KB)

[#006] sha256:f4b1bfe03d0e543b18962c5b252a99475c599cbc27a57c45d41aac070dda4261 - 19.88% (502 MB)

[#007] sha256:72202b3ba33384ab641a90e4a3088773ba280f42a89b44082d2250c73f6b201b - 0.0% (1.27 KB)

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

[#009] sha256:43f2052b08c8427ad02b8a771c92e280b4803cbcd6c84fbe95c7e639c31188ad - 0.0% (1.27 KB)


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

Apply image 10.0.17763.6293

2025-01-09 09:46:25 UTC

Install update 10.0.17763.6775

2025-01-14 23:38:45 UTC

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

2025-01-14 23:38:47 UTC

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

2025-01-14 23:38:48 UTC

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

2025-01-14 23:38:48 UTC

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

2025-01-14 23:40:24 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.';

2025-01-14 23:40:25 UTC

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

2025-01-14 23:40:25 UTC

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

2025-01-14 23:40:26 UTC

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