Namespace
library
Image / Tag
mongo:4.2.14-windowsservercore-1809
Content Digest
sha256:b0e14f6683cb2ad2d5e7e34a3209e248dd58948f1cdb8795e1f0512635641448
Details
Created

2021-06-09 20:47:50 UTC

Size

2.72 GB

Content Digest
Environment
MONGO_DOWNLOAD_SHA256

706610f96ae74963d5348aafe34f976e7b1c02ef1a9f3596862e1e5ba3437e76

MONGO_DOWNLOAD_URL

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

MONGO_VERSION

4.2.14


Layers

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

[#001] sha256:639bb6bb2beb4cfdcacb9f0844344448fe26494665d5fe78a494419f86fbb18f - 31.57% (880 MB)

[#002] sha256:ae7d2dc4b590128efeafd375d02122e65a2525623ac2be100c1a390caf8a4b49 - 0.0% (1.37 KB)

[#003] sha256:7580ae4bee79a472f9a08647591fb533022ebf5ba222c5dc61ff29bdc7c85119 - 0.0% (1.39 KB)

[#004] sha256:6ccafc420b3c440f30f1c7086c5b4e218d936d5ffb67f72e55c46f9e0fda8efd - 0.0% (1.36 KB)

[#005] sha256:633e9a3c741ea2ac12c1214bfdfa2d78742cb5e82a58b53e3d95aea348633c0d - 0.0% (1.37 KB)

[#006] sha256:cb5efbca1d8f423bb067c76dbbf0692c7202459f1dcaa54fa319aa8e65b187fd - 9.67% (270 MB)

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

[#008] sha256:2c2e8c87a4a9b739c047954bc5c9db1deb27bec44efe5db2896e72730e75c4a2 - 0.0% (1.39 KB)

[#009] sha256:65ce4601da03d628e8153d2173844a6bbf25cfc7fc9ce955eeafc4ae07ca63b4 - 0.0% (1.39 KB)


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

Apply image 1809-RTM-amd64

2021-06-06 04:28:43 UTC

Install update 1809-amd64

2021-06-09 13:15:43 UTC

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

2021-06-09 20:45:17 UTC

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

2021-06-09 20:45:19 UTC

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

2021-06-09 20:45:21 UTC

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

2021-06-09 20:47:42 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-06-09 20:47:45 UTC

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

2021-06-09 20:47:47 UTC

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

2021-06-09 20:47:50 UTC

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