Namespace
library
Image / Tag
mongo:6.0.6-windowsservercore-ltsc2022
Content Digest
sha256:df7c0791d0f469b44478f6d2f90c1dede4885e3022b8cfd4e535c7a24a2b7483
Details
Created

2023-06-24 02:43:57 UTC

Size

1.81 GB

Content Digest
Environment
MONGO_DOWNLOAD_SHA256

585afad69ec57040b1a8f502a039c3fef160dccbe6c48c53e15adde9976724a6

MONGO_DOWNLOAD_URL

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

MONGO_VERSION

6.0.6


Layers

[#000] sha256:0ce49598e7371c2c318cfa408f639c917d1f43843fb9e0a3316db1ba7fbb14db - 73.43% (1.33 GB)

[#001] sha256:369acdd1cf7c4d89f87cf3df6c1a935d83dad0afd57c96dcd7251a04481546a0 - 0.0% (1.26 KB)

[#002] sha256:5616abab3d9ec61b9b1df568f529e1b8808781676555335fb440cdb2900c39e4 - 0.0% (1.38 KB)

[#003] sha256:e26855da333bfb6c0024c2ecfbdf9ecd4386aedbe614d45df43a3b3e6012934a - 0.0% (1.37 KB)

[#004] sha256:078351807daa9e213d7711f44fcfc076a0914ad18b779dc41e684da8c71e62a4 - 0.0% (1.4 KB)

[#005] sha256:9a1d354bf30584043d8664975ab49662239980f869a62a3320bb23af279aef1c - 26.57% (492 MB)

[#006] sha256:5353e77fd5dc58f4c913da69987f385306cce1e9180fa1c860e840f450146729 - 0.0% (1.36 KB)

[#007] sha256:456f218ea7df8a7cdf57e10f1e780fb24b3c51c9972c7d5bee6feef9eeb8583c - 0.0% (1.39 KB)

[#008] sha256:0b22add58e900b33dbeada7c0a536e51370158424492b9f68a28049416d561fb - 0.0% (1.39 KB)


History
2023-06-21 08:51:34 UTC

Apply image 10.0.20348.1787

2023-06-24 02:25:59 UTC

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

2023-06-24 02:41:56 UTC

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

2023-06-24 02:41:57 UTC

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

2023-06-24 02:41:58 UTC

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

2023-06-24 02:43:53 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-06-24 02:43:55 UTC

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

2023-06-24 02:43:56 UTC

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

2023-06-24 02:43:57 UTC

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