Namespace
library
Image / Tag
mongo:4.2.22-windowsservercore
Content Digest
sha256:f8b0f45edd32a54347c5d6afc2e5e6bb05cd8110c5dc78ed6ba07c5c4a2724e7
Details
Created

2022-09-14 18:45:31 UTC

Size

2.45 GB

Content Digest
Environment
MONGO_DOWNLOAD_SHA256

7ae6c00390b9917238403aa017cd02479d5e5ad0c75f871e51f58f5bd7c2f722

MONGO_DOWNLOAD_URL

https://fastdl.mongodb.org/win32/mongodb-win32-x86_64-2012plus-4.2.22-signed.msi

MONGO_VERSION

4.2.22


Layers

[#000] sha256:97f65a0ec59e643faf84024aa713a9be059322380315fda829756bbbd96d6258 - 54.57% (1.34 GB)

[#001] sha256:4486102fd3820ed9527fa3e7bfefa8305c2f054e65b46dffe9675755e3d8f288 - 34.56% (868 MB)

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

[#003] sha256:4ca54bf98450127b96036334a828b1d29b52270914b99c63c8724ca7bf8d5768 - 0.0% (1.4 KB)

[#004] sha256:a0591523cd403a7495c4e2bd7bccccac5badb3feaee9db15cbb8bee2b4c8338d - 0.0% (1.41 KB)

[#005] sha256:615fb194a9f127e6da60563b427780060438a322077a35f621a3fb52a0ca23db - 0.0% (1.4 KB)

[#006] sha256:e9c5804707cfeeb04aeed037bed4a1b7c6aebdb96eca40b8900395491db57d55 - 10.87% (273 MB)

[#007] sha256:6bda21c314c4cd92688aa4a5bf88ccf7537a278af29fbc2e7bcc750925c31d43 - 0.0% (1.39 KB)

[#008] sha256:9821b5aa197b9d5cd515f9f0e2e1a96a9e9180f92b862867032cedbca48ce1aa - 0.0% (1.39 KB)

[#009] sha256:6d1056b8185841510bf9580af6013a16336777ae47b3e765db631ce446bee8d9 - 0.0% (1.38 KB)


History
2022-04-22 01:12:09 UTC

Apply image 10.0.20348.643

2022-09-08 20:30:55 UTC

Install update 10.0.20348.1006

2022-09-14 13:31:04 UTC

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

2022-09-14 18:43:54 UTC

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

2022-09-14 18:43:55 UTC

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

2022-09-14 18:43:56 UTC

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

2022-09-14 18:45:27 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\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.';

2022-09-14 18:45:29 UTC

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

2022-09-14 18:45:30 UTC

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

2022-09-14 18:45:31 UTC

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

Details
Created

2022-09-14 18:48:11 UTC

Size

2.78 GB

Content Digest
Environment
MONGO_DOWNLOAD_SHA256

7ae6c00390b9917238403aa017cd02479d5e5ad0c75f871e51f58f5bd7c2f722

MONGO_DOWNLOAD_URL

https://fastdl.mongodb.org/win32/mongodb-win32-x86_64-2012plus-4.2.22-signed.msi

MONGO_VERSION

4.2.22


Layers

[#000] sha256:b111c3320c949bea81612bf4554f1b6592c2f504920b5bf57ba340a1d4d52c93 - 62.79% (1.75 GB)

[#001] sha256:cee64bf279e2ca8e924884a10ecb98bfa79c7f0cc8d25e73039b9aeb940815b6 - 27.64% (788 MB)

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

[#003] sha256:75e8b229f2619acb1f744a0d37f0193f8bd6f9458d841974fbb5498c41de35fc - 0.0% (1.38 KB)

[#004] sha256:f72d2e42abf840ec3ced2ccc866144f10fb8c28e71a9b589fba735e592283d83 - 0.0% (1.36 KB)

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

[#006] sha256:f1380929f30e7e6ec74955b45bb03e993c7c5d5a7215ea0678dbc9588273229a - 9.57% (273 MB)

[#007] sha256:a9003cb4fbaa36f33ed15e9c15bfc3f6a44d24dfcede4ab43e129885803dd9dc - 0.0% (1.4 KB)

[#008] sha256:702b2e64a7c438dc928b0f869a0e901285307183b86964a6b4c081f101f8abef - 0.0% (1.38 KB)

[#009] sha256:101e2167491546b1192517a2cc5c3ab4edc2c0ef9b3f7e634f3f897bb1f23754 - 0.0% (1.39 KB)


History
2022-04-22 01:27:13 UTC

Apply image 10.0.17763.2803

2022-09-09 22:43:02 UTC

Install update 10.0.17763.3406

2022-09-14 13:39:18 UTC

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

2022-09-14 18:45:55 UTC

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

2022-09-14 18:45:56 UTC

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

2022-09-14 18:45:57 UTC

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

2022-09-14 18:48:08 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\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.';

2022-09-14 18:48:09 UTC

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

2022-09-14 18:48:10 UTC

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

2022-09-14 18:48:11 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