wemanity-belgium / hyperclair

DEPRECATED [mv to https://github.com/jgsqware/clairctl] -> A CLI for using Clair with Registry
https://github.com/jgsqware/clairctl
MIT License
58 stars 13 forks source link

executable file not found in $PATH error #81

Open sbehrens opened 8 years ago

sbehrens commented 8 years ago

Hello,

I receive the following error when trying to push:

sbehrens@lgml-sbehrens3 ~/work/bin$ ./hyperclair pull redacted:7001/skynet_test:latest                                                                                                             

Image: http://redacted.net:7001/v2/skynet_test:latest
 39 layers found
  ➜ sha256:4baff6353e3ecc2c85e29985fd9534cc586669e93cf759585e68190bd111fd86
  ➜ sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4
  ➜ sha256:d586e6b6577fad9bc1d5a980a7e097a9e0098827ded0ed615eb9fe94eff446a9
  ➜ sha256:096c8d7554f62631a19d6ffbe51e004c36e223f9ee1ed8c49922e6f2e007b12b
  ➜ sha256:c47783e12e36af16e899c6be8d68d9dbe06c8187d4d87b60c4638bb2178cf17a
  ➜ sha256:8712c0133fc9e17602936b0b02dcb61363fd5bdce37bc4ce7fe7efd435a48dcb
  ➜ sha256:3576b66940b94a68770ccca5800ac4d54d3a54058280bfbfc242066272f48106
  ➜ sha256:03451e0ab5e4743016f354885cee73867b494b26da591a07888205c840eb1698
  ➜ sha256:05f72ce9972a85a11b92b1ef45de6b618105c3fddb3ef51c982dc6b61dae761f
  ➜ sha256:90803e365747176f4fb6881d5436ff48e18cf38d43b3a3fd02cf08c47de7e151
  ➜ sha256:c2ac3b67cf109e71286f40475d9e502f04772c0534931ef0d6e8981494557253
  ➜ sha256:bc52aeb8c83de9c67591725e69a2da0b476eb6e022e501c6b539718b147d2395
  ➜ sha256:643d1acaf71b54f5e2493fdd909c7847f7c22b0e6df1f4bd5e8e16f528162e59
  ➜ sha256:c055357a9cd74493c33ce637b8953be3052308a151ceb1ae809576f19fa3bb1b
  ➜ sha256:c5e6dc01736b10aa5538965b3bced556b5558a04809e2634e8f6642699f8960e
  ➜ sha256:41f404729896a2e5eea6ce485ab9b7154088f898f9c43486a7ac150976917706
  ➜ sha256:6a51103b25ec6b69d76c986c154cdb060d49c8209de1377826610c1e6a9b340b
  ➜ sha256:00173d89d3a2371f2fee7af5e8b991294bf24fd29b3575f7807c64586bd4f4ad
  ➜ sha256:866087b548d3011f5cb865cf110c569d04d18befaedef8cf0cdda3f13ef95df0
  ➜ sha256:3621c80bc602c538bd76167cfd0030f8980776a115fcd9f77de6c3e0058bc062
  ➜ sha256:8b43b7efff5c3524a68773faffb0e0875f4be4319fad5834011fef1b12fbc61d
  ➜ sha256:84c13fcc445f1d444416f05d9f0ab87b4e604478d1c5fc7b340baa4b073452e2
  ➜ sha256:3743690064cddfed3e7fa0189be63e62be24642ffc1675dfb3281b57875c3813
  ➜ sha256:e3bcb965dfbfde53a165ad2da94f599f2792adbddfbc3e091a2d04776639ecb4
  ➜ sha256:de990059815ee0528724e29e3dd13564cc6c2ed79a3b767ebab3ef6d0539b908
  ➜ sha256:3510de8c1e984383ba899f72534bf5b272c9b84d4dcc339967438d31b9e725c9
  ➜ sha256:4e3a5e519a1879788cb6e065397b6471291e22bd1ad4ed289691313691d366f9
  ➜ sha256:3e1778f475acf5706bf59be1ec73c86b16b54aa77861120d464270dcbf5c5c87
  ➜ sha256:caf38e05da5f3dd650a8dca02beb3c9a22292c16b4e9ffaefb32d820ed99e1aa
  ➜ sha256:1e71ce260d46b838e23bca7e79c48d2f114c2e2284b55be23a50466eff10bb16
  ➜ sha256:5e91389571e9f636f5bfd81c82353b9ecca3067c570723872c893f9285de1077
  ➜ sha256:ea0409e68e90e8e45275f51e0166217cfa89ed006c3fabd19a3e92c5cbe5b8d7
  ➜ sha256:e7ac3b03ac31253c5462f3378171a80fed7a4c203485a6c597f01442c1bf901b
  ➜ sha256:6717e721e9ccbe53fe515c35fb711c9dc7a5868b64cde26af775994a91ac26be
  ➜ sha256:6299a4ad4591798665504a6be041457761ee81f8168aa7551b7838db99f5524c
  ➜ sha256:85027b8618bc8927957ff16ab81f55bb744262c35fafc15dfd3027ef34ff56df
  ➜ sha256:d053e073f96398914b36bfca40bf7c03e3cb3a04bc73f63565828f532390c920
  ➜ sha256:96e3393566c8123d7b0fd7a5412aced3d811be6256c984efac0aad4426c060f5
  ➜ sha256:d6eaa1681a95ade2540c08b8f70b317f3a217b23f3986c5df9790dafa2058214

sbehrens@lgml-sbehrens3 ~/work/bin$ ./hyperclair push redacted:7001/skynet_test:latest                                                                                                             client quit unexpectedly
FATA[0000] retrieving internal server IP: retrieving docker0 interface ip: exec: "ip": executable file not found in $PATH

Any ideas?

jgsqware commented 8 years ago

@sbehrens Could you test it with the release 0.5.1?

sbehrens commented 8 years ago

I tried with the 0.5.1 and recieved this error:

sbehrens@lgml-sbehrens3 ~/work/bin$ ./hyperclair-darwin-amd64 version 
Hyperclair version 0.5.1
sbehrens@lgml-sbehrens3 ~/work/bin$ ./hyperclair-darwin-amd64 --config config.yml health
Clair: ✔
sbehrens@lgml-sbehrens3 ~/work/bin$ ./hyperclair-darwin-amd64 --config config.yml push redacted.foo.com:7001/trustybase
client quit unexpectedly
FATA[0000] retrieving internal server IP: retrieving docker0 interface ip: exit status 1
jaiwo99 commented 8 years ago

Hi, we have the same problem, do you have an update for us? thanks!

jgsqware commented 8 years ago

hello, do you use docker for mac? if it's the case, I need to update to handle it because for now it's getting the ip of the docker interface from virtualbox

Le lun. 1 août 2016 13:33, Liang Shi notifications@github.com a écrit :

Hi, we have the same problem, do you have an update for us? thanks!

— You are receiving this because you were assigned. Reply to this email directly, view it on GitHub https://github.com/wemanity-belgium/hyperclair/issues/81#issuecomment-236556940, or mute the thread https://github.com/notifications/unsubscribe-auth/ADJrqyvf6PgpaGaKI_QziZhKqArjEWRdks5qbdmVgaJpZM4Il5YQ .

Waschnick commented 8 years ago

I'm working together with @jaiwo99 - we are using Docker version 1.11.2, build b9f10c9 and Linux _Linux version 3.18.17-13.el7.x8664 (mockbuild@) (gcc version 4.8.3 20140911 (Red Hat 4.8.3-9) (GCC) ) and this should be CentOS 7.x and hyperclair 0.5.2

It worked before and stopped some time in the past, maybe we had an older docker version before.

gianarb commented 8 years ago

Hello

Thanks for your works! I have the same problem and yes I am using Docker for Mac

dgonzalez commented 7 years ago

Same problem here. Any ETA for this to be fixed?

jgsqware commented 7 years ago

Hyperclair has moved to https://github.com/jgsqware/clairctl and this issue is fixed there.

Could you check it there? Thanks

Le lun. 20 févr. 2017 17:58, David notifications@github.com a écrit :

Same problem here. Any ETA for this to be fixed?

— You are receiving this because you were assigned. Reply to this email directly, view it on GitHub https://github.com/wemanity-belgium/hyperclair/issues/81#issuecomment-281131411, or mute the thread https://github.com/notifications/unsubscribe-auth/ADJrq0LUHQ8BxyByXBtIGmmAq_DtOwkYks5recZJgaJpZM4Il5YQ .