Namespace
library
Image / Tag
mongo:4.0.24-windowsservercore-1809
Content Digest
sha256:f8ed515e8f5fd6d9360b1f5f2f5f10d7b398e54c01e8f3c027d7cf74f2d19ad4
Details
Created

2021-06-09 20:55:22 UTC

Size

2.67 GB

Content Digest
Environment
MONGO_DOWNLOAD_SHA256

e17a25bc51b6bdcf6da0fe6b0ba22075b43566119c656b454542735133cd9f1e

MONGO_DOWNLOAD_URL

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

MONGO_VERSION

4.0.24


Layers

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

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

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

[#003] sha256:4994139d06c26964fac50754c10e2f00fff97232629adeb7653774a93a46b756 - 0.0% (1.33 KB)

[#004] sha256:30b0e93ab5565c87b004d09280122611bb6d73ce6b012e3f16dc691ef7bb7765 - 0.0% (1.39 KB)

[#005] sha256:ec02738e23ad6fa9c39b19df981f6ae8e40a21ef9a948602eb5ef3c29bf0574f - 0.0% (1.39 KB)

[#006] sha256:72e53f8cfafb5da47c3408c7b09cf400e814848aae9cb269596c090c6f000dcf - 7.91% (216 MB)

[#007] sha256:3b0b8afde49521fb799848ca0c85193f224212d2d392e5c2300eacd0484e47cd - 0.0% (1.39 KB)

[#008] sha256:27897c0b24319705e260bf06135f435621881e884b4472f00f7565915303fa3a - 0.0% (1.36 KB)

[#009] sha256:22f80336606d8d76917526ab6967949ea187daf345958070d813cfb58c9abf12 - 0.0% (1.4 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:53:12 UTC

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

2021-06-09 20:53:14 UTC

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

2021-06-09 20:53:17 UTC

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

2021-06-09 20:55:14 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:55:17 UTC

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

2021-06-09 20:55:19 UTC

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

2021-06-09 20:55:22 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