Re: [atomic-devel] Container image's name inside scanner container

2017-01-13 Thread Daniel J Walsh
Definitely not to the docker socket. This would be a huge security issue and would hard code us to docker containers. I would prefer to drop a JSON file into the directory with content describing the container. On 01/13/2017 09:53 AM, Brent Baude wrote: > Dharmit, > > I believe the intended im

Re: [atomic-devel] Container image's name inside scanner container

2017-01-13 Thread Brent Baude
Dharmit, I believe the intended image is mounted by its UUID. One idea would be to share the docker socket with you scan container and then do a quick translation of the UUID to image name using the docker-py API. One issue with this approach is you get yourself in a bind (in some cases) with de

[atomic-devel] Container image's name inside scanner container

2017-01-13 Thread Dharmit Shah
Hi! I recently worked on developing a scanner [1] that reports pip, npm, gem updates for a container. But, to me, it looks like I'm missing something and doing it in an improper way from `atomic scan` side of things. The command I execute to check, let's say, pip related updates is: `IMAGE_N