Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v2 registry search/catalog interface not yet supported in collector #32

Open
nehaj27 opened this issue May 27, 2019 · 0 comments
Open

Comments

@nehaj27
Copy link

nehaj27 commented May 27, 2019

docker run --rm -v ~/.docker:/root/.docker -v ~/.docfg:/root/.dockercfg -v /var/run/docker.sock:/var/run/docker.sock -v $HOME/.banyan:/banyandir -v /home/nehajain/collector/data/userscripts:/banyancollector/data/userscripts -e BANYAN_HOST_DIR=$HOME/.banyan banyanops/collector localhost:50000 --registryproto=v2 

Running this command in the collector directory gives me :

[07:26:44 2019/05/27 +0000] [INFO] (main.checkRepoList:357) Repolist: /banyandir/hostcollector/repolist not specified
[07:26:44 2019/05/27 +0000] [INFO] (collector.DockerAPI:186) DockerAPI http://example.com/version
[07:26:44 2019/05/27 +0000] [INFO] (main.main:466) registry API URL: https://localhost:50000
[07:26:44 2019/05/27 +0000] [INFO] (collector.DockerAPI:186) DockerAPI http://example.com/version
[07:26:44 2019/05/27 +0000] [INFO] (main.main:474) Docker version 18.9.6
[07:26:44 2019/05/27 +0000] [WARN] (except.Warn:52) open /banyandir/hostcollector/imagelist: no such file or directory : Error in opening /banyandir/hostcollector/imagelist : perhaps a fresh start?
[07:26:44 2019/05/27 +0000] [INFO] (main.main:482) Fresh start: No previously collected images were found in /banyandir/hostcollector/imagelist
[07:26:44 2019/05/27 +0000] [WARN] (except.Warn:52) open /banyandir/hostcollector/imagelist_ManifestHash: no such file or directory : Error in opening /banyandir/hostcollector/imagelist_ManifestHash : perhaps a fresh start?
[07:26:44 2019/05/27 +0000] [INFO] (collector.GetImageMetadata:483) Get Repos
[07:26:44 2019/05/27 +0000] [EROR] (except.Error:16) v2 registry search/catalog interface not yet supported in collector

What else should I specify in the command?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant