Namespace
library
Image / Tag
mongo:4.0.22-windowsservercore-1809
Content Digest
sha256:bc142958a43d027b79c1c819d5d16138243e442d12c33475b246b2e5d4101fe9
Details
Created

2021-02-09 20:33:46 UTC

Size

2.49 GB

Content Digest
Environment
MONGO_DOWNLOAD_SHA256

e2145277031424a7e72084f94d8014146a119e3dce284da5140f66a113c5e473

MONGO_DOWNLOAD_URL

https://fastdl.mongodb.org/win32/mongodb-win32-x86_64-2008plus-ssl-4.0.22-signed.msi

MONGO_VERSION

4.0.22


Layers

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

[#001] sha256:db4edcf0861ff3fdc41851a5a218965ecb2ab6cf4ec9448fb80cc4b6792fd46c - 26.96% (688 MB)

[#002] sha256:751b8860e89a7e6999d74a11dc393620b118057ad881cb87f1d6e3653cb2db43 - 0.0% (1.31 KB)

[#003] sha256:798396889aaa59ab0e4a06084a66876a3403d8b70ca737e1664f4b18207c6b94 - 0.0% (1.36 KB)

[#004] sha256:08e5c5ac472ad0066265f3ef91d548e95e702b9fd6be924ad0fe38c962ec3c53 - 0.0% (1.32 KB)

[#005] sha256:58d3b7f8cb6394d7f5871ef8f7327c5b00f878a7c1db70eedb400de763e1b482 - 0.0% (1.37 KB)

[#006] sha256:c6488600e82912537b4006e8a1cb8f56f56ba4b32b0fb04993496bc551e89ea6 - 8.78% (224 MB)

[#007] sha256:4cf0dd80747f4a0e793daee67d0ffee5de34aa4d5d1af50c9f233b5d20572dfa - 0.0% (1.31 KB)

[#008] sha256:54702e64191601c333f7e84d7d8543ea2d3677630498c9019d0ac85cb055d0a8 - 0.0% (1.33 KB)

[#009] sha256:06230c4f25729a0f01f0208c14ad27ec22c8914ad2bdfde3877b8b24333f976a - 0.0% (1.31 KB)


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

Apply image 1809-RTM-amd64

2021-02-06 05:03:14 UTC

Install update 1809-amd64

2021-02-09 20:26:38 UTC

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

2021-02-09 20:31:50 UTC

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

2021-02-09 20:31:50 UTC

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

2021-02-09 20:31:51 UTC

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

2021-02-09 20:33: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=ServerNoService,Client,Router,MiscellaneousTools,MonitoringTools,ImportExportTools' ); 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-02-09 20:33:43 UTC

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

2021-02-09 20:33:45 UTC

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

2021-02-09 20:33:46 UTC

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

Danger Zone
Delete Tag

Please be careful as this will not just delete the reference but also the actual content!

For example when you have latest and v1.2.3 both pointing to the same image
the deletion of latest will also permanently remove v1.2.3.

Delete