Tag

library/mongo:7.0.3-windowsservercore-ltsc2022
Content Digest: sha256:f06b78f5788b62461555252778f9ed123457aa66cafa227dddf477e45bec14b5
Manifests
Details
Content Digest

sha256:684d8b8ee2ca70a5aa054c7e48a5e05ef6a2c93910699520cf71866d700bd379

Created

2023-11-16 03:30:29 UTC

Size

2.33 GB


Environment
MONGO_DOWNLOAD_SHA256

7ec97aa108c6af587e77a49479b4e7239da6ccac2903e163ae984797b3afea14

MONGO_DOWNLOAD_URL

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

MONGO_VERSION

7.0.3


Layers

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

[#001] sha256:7989ef2c4cfb06d845746a3c3660481ea84d3f5c8216041855ce528f0ac4015c - 19.93% (475 MB)

[#002] sha256:d1a73dc3dec59ae25ff1232f5fdf2ab39df387f3bf86ba48717ff271d76c2feb - 0.0% (1.39 KB)

[#003] sha256:78c78e661210df7e9eb5ab41db3aca66d8800d6617c3cf4178125ed3a99b433f - 0.0% (1.39 KB)

[#004] sha256:f641ede520e750d1c494a6c9b7222fae54bec5b73cc6c8c5b0bc1a38a911d3db - 0.0% (1.4 KB)

[#005] sha256:3bee5e2ad383fb7ca0e114ad9dbfec41c4d37be5d9dd7e9081347d24581bc89f - 0.0% (1.38 KB)

[#006] sha256:c54538a1ac7e0062cb8e2c9ddb6d5ab5accdc3b72a93c74f403ba007b60b200b - 24.5% (584 MB)

[#007] sha256:5052447881a901f21960dfe425b55725b550263b1d3c23864b551154ae4d987c - 0.0% (1.28 KB)

[#008] sha256:4f073aae9d8bdfa66feadd8697a216b14877c0b9ff347217f211a85746da0d5a - 0.0% (1.29 KB)

[#009] sha256:e68026f2e761421e59e2cfb6162ffcce6a54d03ea9a269ea4fad3e26650fe542 - 0.0% (1.29 KB)


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

Apply image 10.0.20348.1787

2023-11-09 06:47:20 UTC

Install update 10.0.20348.2113

2023-11-16 03:18:08 UTC

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

2023-11-16 03:28:06 UTC

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

2023-11-16 03:28:07 UTC

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

2023-11-16 03:28:08 UTC

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

2023-11-16 03:30:25 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=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 ' mongod --version'; mongod --version; Write-Host 'Removing ...'; Remove-Item C:\windows\installer\*.msi -Force; Remove-Item mongo.msi -Force; Write-Host 'Complete.';

2023-11-16 03:30:27 UTC

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

2023-11-16 03:30:28 UTC

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

2023-11-16 03:30:29 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.