Namespace
library
Image / Tag
mongo:5.0.21-windowsservercore-ltsc2022
Content Digest
sha256:33dc9bdce0b6aebef4deecb0976fcc36e53da57dd04d9a548d34435aab75369e
Details
Created

2023-10-11 03:20:15 UTC

Size

2.02 GB

Content Digest
Environment
MONGO_DOWNLOAD_SHA256

3f8bff0f584ff8270b1164aaf130ad26578723a4bdcddaf001b361ae4e46e308

MONGO_DOWNLOAD_URL

https://fastdl.mongodb.org/windows/mongodb-windows-x86_64-5.0.21-signed.msi

MONGO_VERSION

5.0.21


Layers

[#000] sha256:7c76e5cf7755ce357ffb737715b0da6799a50ea468cc252c094f4d915d426b3f - 63.9% (1.29 GB)

[#001] sha256:e3d2471a50c8ec3ea61c16dd871f7b9167bf779faad2b6e5a6f72a18b88b846b - 21.68% (449 MB)

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

[#003] sha256:ba02f19a0f5f2b483ddb10339d2aec391fa3054bd55b5911d3663d9ad6b0f28a - 0.0% (1.26 KB)

[#004] sha256:1868a2debc099c26143ac4865a7a7162740e46feac09676bbcbbc63fbe121c22 - 0.0% (1.28 KB)

[#005] sha256:2d5446ee563750a713884e4d7654db0fb714f967d6db580185e0326f3b7b6ce8 - 0.0% (1.26 KB)

[#006] sha256:32106c4ba20dbd847d4a489f038a878960342985c9cb49283af7fc46a31e932a - 14.42% (299 MB)

[#007] sha256:0ad633eb4b8425ef20358014a83d3ed28cc0b4c33f1e5027d1a85267f5881af2 - 0.0% (1.26 KB)

[#008] sha256:b30ba1e165ff8125aa1a57bc1a4a3c234c758f91c7697ecb689fdbe1d0061ef5 - 0.0% (1.26 KB)

[#009] sha256:8972d2f6fdfac90b869a3b425d8fb06643829e883b23d259a920faee237ba7c7 - 0.0% (1.25 KB)


History
2023-06-08 12:55:20 UTC

Apply image 10.0.20348.1787

2023-10-06 21:59:31 UTC

Install update 10.0.20348.2031

2023-10-11 02:54:35 UTC

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

2023-10-11 03:18:28 UTC

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

2023-10-11 03:18:29 UTC

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

2023-10-11 03:18:30 UTC

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

2023-10-11 03:20:11 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,MiscellaneousTools,Router,ServerNoService' ); if (-Not (Test-Path C:\mongodb\bin\mongod.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.';

2023-10-11 03:20:13 UTC

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

2023-10-11 03:20:14 UTC

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

2023-10-11 03:20:15 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