Namespace
library
Image / Tag
mongo:6.0.17-windowsservercore-1809
Content Digest
sha256:db36b802817ed4138ed5af8183fb08059bf2fb7268670d9cab224f905133ff6f
Details
Created

2024-09-11 00:05:49 UTC

Size

2.09 GB

Content Digest
Environment
MONGO_DOWNLOAD_SHA256

90c6014610d9351763c59985460c915bb87227ecea619cb2d93e962787b87cc1

MONGO_DOWNLOAD_URL

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

MONGO_VERSION

6.0.17


Layers

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

[#001] sha256:4bfcf6db89e54ae948e29717a7b939e6f6813574fc548d8854c47794f0b34355 - 0.0% (1.29 KB)

[#002] sha256:66c4e775240ca57c111c2c34ef26c3958b9091f3b864d9c0523809dc955282ee - 0.0% (1.27 KB)

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

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

[#005] sha256:ac001986e738f1386fb6d2e22d730ab5995d8a3df326e8a0e2ffb47547348de7 - 23.37% (500 MB)

[#006] sha256:e64d4c02c3d6888f0630f8dbb86a06edc2affecc45c2d4e916a10001929a7eb8 - 0.0% (1.26 KB)

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

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


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

Apply image 10.0.17763.6293

2024-09-11 00:04:28 UTC

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

2024-09-11 00:04:29 UTC

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

2024-09-11 00:04:30 UTC

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

2024-09-11 00:04:30 UTC

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

2024-09-11 00:05:47 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-09-11 00:05:48 UTC

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

2024-09-11 00:05:48 UTC

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

2024-09-11 00:05:49 UTC

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