Namespace
library
Image / Tag
mongo:7.0.1-windowsservercore-ltsc2022
Content Digest
sha256:48a551e5c03b46105cb2ba6379f17b18bdfc19913feffbc5d69ec282ffd4a0d6
Details
Created

2023-09-13 03:56:21 UTC

Size

2.28 GB

Content Digest
Environment
MONGO_DOWNLOAD_SHA256

bcdcdc445e53106f6c596304061529c055cda6f23cc06fe8adcc7f7c41c64d99

MONGO_DOWNLOAD_URL

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

MONGO_VERSION

7.0.1


Layers

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

[#001] sha256:feca8e06011ab171ad74cda49c7c305e791965aef283d5b7c2b987dd5388e6c7 - 18.31% (428 MB)

[#002] sha256:19f19fc66ee381d7fb9811b24aea9ed1dff8ef483bc0e019d3c24c09fb8fbecd - 0.0% (1.35 KB)

[#003] sha256:dd0029ad3474e3d7133b3d70f7639476d0fc94ae22ba2fda09467c653ee4636b - 0.0% (1.34 KB)

[#004] sha256:1a900b49f75a7a7279a5ee8cb0c70202bf65cfeec06cb76fe3e0fee52d2df318 - 0.0% (1.33 KB)

[#005] sha256:cf108ce64c000eca6779d5792da89c7d518f61a4af402122221bee0364ec3d2a - 0.0% (1.39 KB)

[#006] sha256:32ad51db2978b895017222f859851c377cd9d13382bdbd57258d036314acde21 - 25.01% (584 MB)

[#007] sha256:e65fcb8ed0c7a40dc12933450886cee77436ca95a98580799980184c629e62fb - 0.0% (1.4 KB)

[#008] sha256:2bad7e6a670987202a4b0476cacf539f12acede747d85bdf88fffa8dcaa3a506 - 0.0% (1.38 KB)

[#009] sha256:4ddd300a4d02ae9f89b1f9a0e5530c431d957ded0a87e675b8a6c71a0dc15681 - 0.0% (1.39 KB)


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

Apply image 10.0.20348.1787

2023-09-01 00:43:48 UTC

Install update 10.0.20348.1970

2023-09-13 03:53:57 UTC

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

2023-09-13 03:53:58 UTC

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

2023-09-13 03:53:58 UTC

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

2023-09-13 03:53:59 UTC

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

2023-09-13 03:56:18 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.';

2023-09-13 03:56:20 UTC

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

2023-09-13 03:56:21 UTC

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

2023-09-13 03:56:21 UTC

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