[atomic-devel] atomic scan unable to unmount image under /run/atomic/

2017-07-12 Thread Dharmit Shah
760e30.el7.x86_64. Let me know if I need to provide additional info. Regards, Dharmit [1] https://github.com/CentOS/container-pipeline-service/tree/master/atomic_scanners/pipeline-scanner [2] http://pastebin.centos.org/123896/ [3] https://github.com/CentOS/container-pipeline-service/tree/master/ato

[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

Re: [atomic-devel] Python interface for atomic scan

2016-10-20 Thread Dharmit Shah
You are available during US East Coast time? > > On Tue, 2016-10-18 at 18:58 +0530, Dharmit Shah wrote: > > Hi, > > > > I'm working on writing atomic scanner and would like to invoke them > > from > > a python program. However, I couldn't find

[atomic-devel] Python interface for atomic scan

2016-10-18 Thread Dharmit Shah
Hi, I'm working on writing atomic scanner and would like to invoke them from a python program. However, I couldn't find documentation about it. Also, looking at the `Atomic/scan.py` and specifically scan function in that file, it seems like it is designed to be used from CLI only. At the moment,

Re: [atomic-devel] Atomic Scan - pass image details to scanner

2016-07-19 Thread Dharmit Shah
On 18/07, Daniel J Walsh wrote: > > > On 07/18/2016 04:31 AM, Dharmit Shah wrote: > I believe it will just mount up the containers image onto a rootfs and > expose the rootfs to the scanner. > The rootfs mount point will container the containerid as the directory name > and

[atomic-devel] Atomic Scan - pass image details to scanner

2016-07-18 Thread Dharmit Shah
Hi, I'm creating a custom scanner based on atomic scan and am kind of stuck at passing/fetching the details of image under scan to/in the scanner. While going through atomic source code, I figured that under `Atomic/scan.py` we access the image by `self.args.scan_targets`. However, I don't quite