Namespace
library
Image / Tag
mongo:6.0.3-windowsservercore-1809
Content Digest
sha256:549f2a8bffee5d968b33ebe16f6c3a5c2c25dbccf89bbf10d59c28d606bb6eef
Details
Created

2023-01-12 04:07:25 UTC

Size

2.07 GB

Content Digest
Environment
MONGO_DOWNLOAD_SHA256

6557ae0360747d348aefdf30d1360f577804c446579c2012e0b04e5ec2489c49

MONGO_DOWNLOAD_URL

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

MONGO_VERSION

6.0.3


Layers

[#000] sha256:6e222c5ada69382aa2b4fe30b23ae56c7e3ada92712109d20f3edd457a6120b6 - 76.9% (1.59 GB)

[#001] sha256:f99eee4cf5f23d13a762e719b10916801f19f9df4bd7ff9b4c5cf57133b3dc04 - 0.0% (1.39 KB)

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

[#003] sha256:60476112c06e5fe7639a2838ed0de7683814ff3f225f173e0369e0589e2d5dca - 0.0% (1.38 KB)

[#004] sha256:90c5cee19e67fa5125be4ae14b2f98d626a3ddadba20999736a295890e20413d - 0.0% (1.36 KB)

[#005] sha256:5b68107f61d309beea8f31fff0fda8ddaae16083a2a93887eae9ee27424b2174 - 23.1% (489 MB)

[#006] sha256:294d01bdf20843568daa51e19d2d286c74e655e4381ef593b33af2644062b2ab - 0.0% (1.36 KB)

[#007] sha256:f148c6bf2d553a41346396efac3d7ef1db13264383b29a7a62ccb17782b28e2a - 0.0% (1.38 KB)

[#008] sha256:09c27b5e8dbb73924ddf83297d1f781b1d1130075828997faa00fa8dc446b827 - 0.0% (1.36 KB)


History
2023-01-07 05:37:58 UTC

Apply image 10.0.17763.3887

2023-01-12 04:04:12 UTC

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

2023-01-12 04:04:13 UTC

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

2023-01-12 04:04:14 UTC

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

2023-01-12 04:04:15 UTC

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

2023-01-12 04:07:20 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-01-12 04:07:22 UTC

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

2023-01-12 04:07:24 UTC

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

2023-01-12 04:07:25 UTC

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