Namespace
library
Image / Tag
mongo:4.2.9-windowsservercore-1809
Content Digest
sha256:25c38df5d2cfb460eba2d650c1831b1eb7e5f5cfebf5646edac26141a9074ac2
Details
Created

2020-09-11 21:42:34 UTC

Size

2.46 GB

Content Digest
Environment
MONGO_DOWNLOAD_SHA256

d4d55bd21879bdbd8f9cbf5d2102a575b12b13647d975a642e90b3b44ad84532

MONGO_DOWNLOAD_URL

https://fastdl.mongodb.org/win32/mongodb-win32-x86_64-2012plus-4.2.9-signed.msi

MONGO_VERSION

4.2.9


Layers

[#000] sha256:4612f6d0b889cad0ed0292fae3a0b0c8a9e49aff6dea8eb049b2386d9b07986f - 65.07% (1.6 GB)

[#001] sha256:c3aff44502467b94164764856a6feb805fc5c79ff66012eebdd7da3f180e3138 - 23.97% (604 MB)

[#002] sha256:1df31adcc7026c3bf0cb32832a3f307dd6e1e54b8b3e050f8a73b5caee674d88 - 0.0% (1.1 KB)

[#003] sha256:162e9aaf03c890f24d2a8c52640735d58976856f2aa6cc3cfe72356d37124d96 - 0.0% (1.14 KB)

[#004] sha256:7217e8aca29df6e357674a8f40e21e597fa81d41644c9336f3f394704579232c - 0.0% (1.16 KB)

[#005] sha256:fdfbf8a3077d2e018ebe24c24f89d0dea16ed4b3b953d819a67abb1ad4a715b7 - 0.0% (1.12 KB)

[#006] sha256:cd5c7ef880858bf9b1424c5dddf8de305106dc1bbf6dbd3659bc5f1ec72cffae - 10.96% (276 MB)

[#007] sha256:2011f0051fb8256f42c10ddae12dbd29e7d0e8f7b7f770c6111e7a0c1838044b - 0.0% (1.1 KB)

[#008] sha256:cb840958e38ed8e7b03a9a04905a3f3325125a43d387819abeb6c3202be449f2 - 0.0% (1.13 KB)

[#009] sha256:56416423f8c45c2c22eb8bb18268e6147185869bef9969ffb6a137dd80b30990 - 0.0% (1.1 KB)


History
2020-05-07 05:09:25 UTC

Apply image 1809-RTM-amd64

2020-09-03 05:59:01 UTC

Install update 1809-amd64

2020-09-09 13:15:06 UTC

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

2020-09-09 20:54:35 UTC

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

2020-09-09 20:54:36 UTC

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

2020-09-09 20:54:37 UTC

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

2020-09-11 21:42:31 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', 'INSTALLLOCATION=C:\mongodb', 'ADDLOCAL=all' ); $env:PATH = 'C:\mongodb\bin;' + $env:PATH; [Environment]::SetEnvironmentVariable('PATH', $env:PATH, [EnvironmentVariableTarget]::Machine); Write-Host 'Verifying install ...'; Write-Host ' mongo --version'; mongo --version; Write-Host ' mongod --version'; mongod --version; Write-Host 'Removing ...'; Remove-Item C:\windows\installer\*.msi -Force; Remove-Item mongo.msi -Force; Write-Host 'Complete.';

2020-09-11 21:42:32 UTC

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

2020-09-11 21:42:33 UTC

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

2020-09-11 21:42:34 UTC

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