Namespace
library
Image / Tag
mongo:4.2.12-windowsservercore-1809
Content Digest
sha256:82df0b77aadaaab6fad941d4d9b56c1ddbb39e0145ab3ca207530b0abeed26b8
Details
Created

2021-03-10 22:10:15 UTC

Size

2.56 GB

Content Digest
Environment
MONGO_DOWNLOAD_SHA256

68f45719faf62cc9274c2f86373cef1ab84442fcb1f60bd61af2cb8d955f5458

MONGO_DOWNLOAD_URL

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

MONGO_VERSION

4.2.12


Layers

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

[#001] sha256:5ff1512f88ecd4ff0a91ade34d43733c48834433e35f062f80e6e70d706f8d73 - 27.01% (709 MB)

[#002] sha256:31ae1fcdffac4071930a0d98172fc515a43c93aa55870e4b6cc8c789b9444e73 - 0.0% (1.27 KB)

[#003] sha256:591c8dc1876abc4a7ee3dae9ac1d6563d0c7cc3c228e8623c0d1e8415ddf15ec - 0.0% (1.38 KB)

[#004] sha256:3788b488ff6cbd9d89e1e09fc699db65fdc93a8313cd097d180d6146d32a4e56 - 0.0% (1.37 KB)

[#005] sha256:4ad01ab958b9ea12036e8d43210df0a7a0738e07263e5599fa65d0f880a56c38 - 0.0% (1.39 KB)

[#006] sha256:e7461adc3b17cd949927ce4eaaeb2255a941ee0ae657960c5487cb1e4b3a6349 - 10.55% (277 MB)

[#007] sha256:ee12acb837c0e028a9882139507be38342605c743df484155d142d0e894f5440 - 0.0% (1.37 KB)

[#008] sha256:363abc9283611a8455055922e3f1a622ae8312370062956288d255431a6f2825 - 0.0% (1.4 KB)

[#009] sha256:0bb79778c779baf72e54eba23bc1d878fe01cc4a458b1a00419afbe799b01200 - 0.0% (1.36 KB)


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

Apply image 1809-RTM-amd64

2021-02-27 09:32:06 UTC

Install update 1809-amd64

2021-03-10 14:15:30 UTC

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

2021-03-10 22:07:42 UTC

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

2021-03-10 22:07:43 UTC

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

2021-03-10 22:07:44 UTC

powershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_SHA256=68f45719faf62cc9274c2f86373cef1ab84442fcb1f60bd61af2cb8d955f5458

2021-03-10 22:10: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=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.';

2021-03-10 22:10:12 UTC

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

2021-03-10 22:10:13 UTC

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

2021-03-10 22:10: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