anchore / stereoscope

go library for processing container images and simulating a squash filesystem
Apache License 2.0
81 stars 44 forks source link

Read docker host/socket location from the current docker context #193

Closed vmasutin closed 1 year ago

vmasutin commented 1 year ago

Reading dockerd socket/host location from the current docker context It resolves the issues with lima/colima/docker desktop set ups.

This PR probably needs more work (tests, style, etc), I will appreciate the comments. Parts of the code are coming from https://github.com/docker/cli repo. Changes were tested with syft and local lima setup on MacOS.

vmasutin commented 1 year ago

closed in favour of New PR