Namespace
library
Image / Tag
mongo:4.0.21-windowsservercore-1809
Content Digest
sha256:4e9516d3bda33aff08cee9a9be2b4ef1548ff69ada01b42a34bebbe6711b188f
Details
Created

2020-12-09 23:21:06 UTC

Size

2.44 GB

Content Digest
Environment
MONGO_DOWNLOAD_SHA256

6dcb6a76e19e7bcbdc0d97155c29f50e0ab3f6bd6c6f77d4b9003ee3cd474ef0

MONGO_DOWNLOAD_URL

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

MONGO_VERSION

4.0.21


Layers

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

[#001] sha256:aa4f58cd6da1aaf1a0b44d443bd88e7fbe5b0a6f193995a1a61d6bd63990f314 - 25.63% (641 MB)

[#002] sha256:240407eb82b6591b0574396ec829a4a5cd9a75257a4663f9876942995275965d - 0.0% (1.14 KB)

[#003] sha256:98066b63fbd795f47b1ea66cb6f4e0ff931896f16880abafe83dbfb784734918 - 0.0% (1.13 KB)

[#004] sha256:f50610c47662aaaf6555d9ec7d7e047f200014c60cd918f02749e7c7f5153a5a - 0.0% (1.12 KB)

[#005] sha256:5c9f5091c7a811fb2069229675e33603cc45af7a2d9a31a343bf9d9129a7073c - 0.0% (1.14 KB)

[#006] sha256:aafce474a2494fa01244f95556016a44a06ef44e4a3ab43fa4ab6fe3de50ec37 - 8.89% (222 MB)

[#007] sha256:004d98ba1e39a8b7f3d242dea704f7efee1aa42ea424933d2e1ee95b9bdabbd1 - 0.0% (1.11 KB)

[#008] sha256:860ab8a74736cbbee6723497b5914335e25cd942e15b9eb8a1f0a1a6fac1940f - 0.0% (1.12 KB)

[#009] sha256:57bde5c62a1e24328aba58997c58af9d9f661d42c784d69fd2fef55e5fa175a2 - 0.0% (1.12 KB)


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

Apply image 1809-RTM-amd64

2020-12-04 02:13:01 UTC

Install update 1809-amd64

2020-12-09 14:02:31 UTC

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

2020-12-09 23:17:37 UTC

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

2020-12-09 23:17:38 UTC

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

2020-12-09 23:17:38 UTC

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

2020-12-09 23:21:03 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.';

2020-12-09 23:21:04 UTC

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

2020-12-09 23:21:05 UTC

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

2020-12-09 23:21:06 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