Namespace
library
Image / Tag
mongo:4.2.16-windowsservercore
Content Digest
sha256:1c272440280fa1944e3519434b32a35559d3cfc96f80900e6edd4d1ea6f3b08c
Details
Created

2021-09-15 19:14:37 UTC

Size

2.77 GB

Content Digest
Environment
MONGO_DOWNLOAD_SHA256

95aec78b1199a9be5d86dcfac39dc81d0bc26c767d8f95ea1b646c1db05e7d49

MONGO_DOWNLOAD_URL

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

MONGO_VERSION

4.2.16


Layers

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

[#001] sha256:a0ddf88812f10c7d6edc858aa9784ff5ca9de4a7bb631909c090090343abd059 - 32.6% (924 MB)

[#002] sha256:6c4091e033b8590db7b89fded6d31ac2224162744daa4d7a7a66cbebd4b8c228 - 0.0% (1.4 KB)

[#003] sha256:04567ba3327a8f1a38175a08aeb1ebb07b8de47136f0bb820421472f889bf9aa - 0.0% (1.4 KB)

[#004] sha256:82c3656acc8edd137be9f08e38014e29ae494bf3e6befb09b91e1e015cd8cb6c - 0.0% (1.4 KB)

[#005] sha256:d57cbee03ff69674a56190998a0e1ea1d9d3be0b91e45a2c05ad70e9d51c79b5 - 0.0% (1.41 KB)

[#006] sha256:a7dc0886ca63e5e50481965360c63fe6448017e8cd8a54b3289184cc07bad8da - 9.54% (270 MB)

[#007] sha256:2f802a0056f839c3cb8f0488a8c17ae69e1daa5a9f8974ca2d4c50038e60eef7 - 0.0% (1.36 KB)

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

[#009] sha256:45f3722df90026c00f2b7bc0b365ac42ad52224f08298c3f4f14cb5912301dbc - 0.0% (1.38 KB)


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

Apply image 1809-RTM-amd64

2021-09-13 04:08:33 UTC

Install update 1809-amd64

2021-09-15 13:14:12 UTC

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

2021-09-15 19:12:02 UTC

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

2021-09-15 19:12:02 UTC

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

2021-09-15 19:12:03 UTC

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

2021-09-15 19:14:34 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=Client,ImportExportTools,MiscellaneousTools,MonitoringTools,Router,ServerNoService' ); if (-Not (Test-Path C:\mongodb\bin\mongo.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 ' 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.';

2021-09-15 19:14:35 UTC

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

2021-09-15 19:14:36 UTC

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

2021-09-15 19:14:37 UTC

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

Details
Created

2021-09-15 19:16:52 UTC

Size

6.1 GB

Content Digest
Environment
MONGO_DOWNLOAD_SHA256

95aec78b1199a9be5d86dcfac39dc81d0bc26c767d8f95ea1b646c1db05e7d49

MONGO_DOWNLOAD_URL

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

MONGO_VERSION

4.2.16


Layers

[#000] sha256:3889bb8d808bbae6fa5a33e07093e65c31371bcf9e4c38c21be6b9af52ad1548 - 62.09% (3.79 GB)

[#001] sha256:e9b8281bf21e46c781fb54e4f15f5728e2c44dea4219c9e6deeb732f1d909d3b - 33.58% (2.05 GB)

[#002] sha256:5796468f91731000e9a76e836156826a1cd4ed963bcd80e6558c538a12c2132d - 0.0% (1.38 KB)

[#003] sha256:2b442d627e728f8e6c262672ff1fe6a46d1e97afb98abfd826ffe95e5336dab6 - 0.0% (1.41 KB)

[#004] sha256:d4079ea16528c77691e65f9d53fa010334aaa69267ee9db80e0f16d991fc9c58 - 0.0% (1.38 KB)

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

[#006] sha256:1348d9ea18053acce8f8954e802cc56a48d8887b9fd6f5a4537f3c2eef5bbe48 - 4.32% (270 MB)

[#007] sha256:6e9d2ab74d25c6aa5ae8ec9c95b3318d7f153ccd6ad74dcc1324f2d070659f44 - 0.0% (1.35 KB)

[#008] sha256:419d9619829e6979d0a432bac64f2225d87719615b4e63be331f578199a105f4 - 0.0% (1.38 KB)

[#009] sha256:05797e6208b094a6ce0585f0d465c5d95d26dc53eb28936748eb47a32775da6e - 0.0% (1.36 KB)


History
2016-11-19 17:05:00 UTC

Apply image 1607-RTM-amd64

2021-09-13 01:03:00 UTC

Install update ltsc2016-amd64

2021-09-15 13:26:09 UTC

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

2021-09-15 19:14:42 UTC

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

2021-09-15 19:14:43 UTC

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

2021-09-15 19:14:44 UTC

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

2021-09-15 19:16:49 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=Client,ImportExportTools,MiscellaneousTools,MonitoringTools,Router,ServerNoService' ); if (-Not (Test-Path C:\mongodb\bin\mongo.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 ' 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.';

2021-09-15 19:16:51 UTC

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

2021-09-15 19:16:52 UTC

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

2021-09-15 19:16:52 UTC

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