Tag

library/mongo:4.0-windowsservercore-1803
Content Digest: sha256:7c83c706c90d9004716a3683a3e00070f6d08b6ce0cdb5efbc51ab5a1b56b067
Manifests
Details
Content Digest

sha256:342deb9b0b80a2b6af5fc59ffeec43185124410ea7cda667e7b288f7d334bc03

Created

2019-12-11 23:34:57 UTC

Size

2.61 GB


Environment
MONGO_DOWNLOAD_SHA256

3d81d6214017e66343be94109aa36147a684be43b2731c37e52dd14518501ec0

MONGO_DOWNLOAD_URL

https://downloads.mongodb.org/win32/mongodb-win32-x86_64-2008plus-ssl-4.0.13-signed.msi

MONGO_VERSION

4.0.13


Layers

[#000] sha256:d9e8b01179bfc94a5bdb1810fbd76b999aa52016001ace2d3a4c4bc7065a9601 - 59.21% (1.55 GB)

[#001] sha256:d117323cd539488e5ef3bef575a41fa714d83119b0da1896607d96ec2a5e3b52 - 24.86% (665 MB)

[#002] sha256:70c803815d644f3772896add8df055dfd33f5934921ca0c57efc290d42454abf - 0.0% (1.16 KB)

[#003] sha256:6e9cf07de65da1c9645e5c05214e9c4469214e13d07cb0524c52803d3eb38ed9 - 0.0% (1.15 KB)

[#004] sha256:a4548d3d297dcebf4b6aa4174311754dd620ab7008482038cf70c2324295438a - 0.0% (1.16 KB)

[#005] sha256:f0faef6b4b77f63622a396f3195ac8d0b5b29d77cb69ade3002688710ffe72a8 - 0.0% (1.17 KB)

[#006] sha256:63b34b2e676b51b294d0fdc43d409b91111ac8b407868908ede496edf2e17640 - 15.92% (426 MB)

[#007] sha256:f222910d750b7b04baaf6c47d1909ccb4a4e3f1925314e81ffa55e0cedd7d14a - 0.0% (1.17 KB)

[#008] sha256:7a7e30ae2a2e5e08c7ca50abe1b3c2803557d5ea13a767d17ffe7981b3f588f3 - 0.0% (1.17 KB)

[#009] sha256:79ff2a06b59987f234c12bb12410a7d882e0e2b17a17c30da19d67f9ad52699c - 0.0% (1.17 KB)


History
2018-04-12 09:20:54 UTC

Apply image 1803-RTM-amd64

2019-12-04 15:21:18 UTC

Install update 1803-amd64

2019-12-11 15:36:14 UTC

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

2019-12-11 23:17:13 UTC

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

2019-12-11 23:17:14 UTC

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

2019-12-11 23:17:15 UTC

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

2019-12-11 23:34:52 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'); 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', 'INSTALLLOCATION=C:\mongodb', 'ADDLOCAL=all' ); $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:\mongodb\bin\*.pdb -Force; Remove-Item C:\windows\installer\*.msi -Force; Remove-Item mongo.msi -Force; Write-Host 'Complete.';

2019-12-11 23:34:54 UTC

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

2019-12-11 23:34:56 UTC

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

2019-12-11 23:34:57 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.