Namespace
library
Image / Tag
mongo:6.0.1-windowsservercore-ltsc2022
Content Digest
sha256:ef426e7967c90c1e3851adf82973a902c5e58b0cd611a18dc64d0dca6793f321
Details
Created

2022-09-14 18:13:10 UTC

Size

2.66 GB

Content Digest
Environment
MONGO_DOWNLOAD_SHA256

999b39df67a77eda3198f8412dc159b0cd8aa6677b901a0cf287921884306ac3

MONGO_DOWNLOAD_URL

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

MONGO_VERSION

6.0.1


Layers

[#000] sha256:97f65a0ec59e643faf84024aa713a9be059322380315fda829756bbbd96d6258 - 50.28% (1.34 GB)

[#001] sha256:4486102fd3820ed9527fa3e7bfefa8305c2f054e65b46dffe9675755e3d8f288 - 31.85% (868 MB)

[#002] sha256:a16438b2cffe7980c606769d49003f7f1c4d27549445f824511a81834513616a - 0.0% (1.39 KB)

[#003] sha256:42056ad640d8d7c2493a6678000376a5ab8f23647b2d3d671a9b0e3b771a562b - 0.0% (1.39 KB)

[#004] sha256:6dddc6f555305340d9c516485111fe36a788f6ca32cf390a80cbd5c208be7c9d - 0.0% (1.41 KB)

[#005] sha256:ffb15f702434eea314d2632b8ec7c8f048618a787ace68f869aaa718a2ffddee - 0.0% (1.35 KB)

[#006] sha256:ba6f425ed5435e62305abdc8461925a35c4072691f3e92729fa313a290544505 - 17.87% (487 MB)

[#007] sha256:22032f41e64570ba7bc81f11cbde982dce6d4f744ebf18d8a8144766b883ccbd - 0.0% (1.39 KB)

[#008] sha256:a574e2d2128265a569688bfeae3010298bc5a47953da896bc62b3b185df422f5 - 0.0% (1.37 KB)

[#009] sha256:b54b383a371438ea44132b8a9e1dcbe070e3866d31e45afd7cdc06963f90a4f5 - 0.0% (1.34 KB)


History
2022-04-22 01:12:09 UTC

Apply image 10.0.20348.643

2022-09-08 20:30:55 UTC

Install update 10.0.20348.1006

2022-09-14 13:31:04 UTC

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

2022-09-14 18:11:11 UTC

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

2022-09-14 18:11:12 UTC

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

2022-09-14 18:11:13 UTC

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

2022-09-14 18:13:07 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.';

2022-09-14 18:13:08 UTC

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

2022-09-14 18:13:09 UTC

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

2022-09-14 18:13:10 UTC

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