Giter Club home page Giter Club logo

Comments (4)

mshipkovenski avatar mshipkovenski commented on August 20, 2024

@deadjoe Admiral works with API 1.24, so you should be able to register your host. What exactly is the error you get? Did you configure the port/credentials?

Thanks

from admiral.

deadjoe avatar deadjoe commented on August 20, 2024

I have enabled the remote API as verified as below:

# curl -X GET http://localhost:4243/images/json [{"Id":"sha256:4e798983bb2acf9e073be2fae182167ceb12e24e9d319bf982d51aa7c43657b9","ParentId":"","RepoTags":["vmware/admiral:latest"],"RepoDigests":["vmware/admiral@sha256:a3281bb41f303d9476460c282aecc0e5be38b0552341064d8a451a2a7f3036f1"],"Created":1473163974,"Size":506438285,"VirtualSize":506438285,"Labels":{}},{"Id":"sha256:e00cab8f0418b0595ebf8dfe0b7bb5b25a4409d76babd880f7b986bc3a7d50da","ParentId":"sha256:bf1c35d1ec6f1f1b67ad76ed784498234dbaed1069e7f7b6ae574a4e1badb4e9","RepoTags":["deploy_jobservice:latest"],"RepoDigests":null,"Created":1472996172,"Size":787225132,"VirtualSize":787225132,"Labels":{}},{"Id":"sha256:fcf0d9f19c788d014ef5f8b055d8417b98690e3a34e1d86f6284200c044ff979","ParentId":"sha256:65be7862523a6b6d619dfbe78612274183c5600f70029afadb43b3b2e4737ef2","RepoTags":["deploy_mysql:latest"],"RepoDigests":null,"Created":1472996139,"Size":328849380,"VirtualSize":328849380,"Labels":{}},{"Id":"sha256:7fa7076a514df3616dea3b1014dafb8e584484fe529ec8584ff76b6405b0a7cd","ParentId":"sha256:98a38378d813cb4735900145fd9c73d1d637a226798cc204baf2489c2c394450","RepoTags":["deploy_ui:latest"],"RepoDigests":null,"Created":1472996113,"Size":791143040,"VirtualSize":791143040,"Labels":{}},{"Id":"sha256:a4e0e10ee308dbc7e5c39a2ed35a38b8099bd9decc954aa6636c5b3122970286","ParentId":"sha256:f31970e95aa9133d74e50fbf1911adf997287e2acf07980486994781ee37d008","RepoTags":["deploy_log:latest"],"RepoDigests":null,"Created":1472996008,"Size":187937502,"VirtualSize":187937502,"Labels":{}},{"Id":"sha256:e30940c8232c8dace45d647308df2ae79100c2ea0951a29f352877db5b71e3d4","ParentId":"","RepoTags":["rethinkdb:latest"],"RepoDigests":["rethinkdb@sha256:7689656221baf133abab96f887636afa35bae8ca28680de7ebb67b33771ab7d3"],"Created":1472598736,"Size":183852787,"VirtualSize":183852787,"Labels":{}},{"Id":"sha256:4a725d3b3b1cc18c8cbd05358ffbbfedfe1eb947f58061e5858f08e2899731ee","ParentId":"","RepoTags":["ubuntu:14.04"],"RepoDigests":["ubuntu@sha256:5b5d48912298181c3c80086e7d3982029b288678fccabf2265899199c24d7f89"],"Created":1472237392,"Size":187935426,"VirtualSize":187935426,"Labels":{}},{"Id":"sha256:6d4770ef651a9dbb998e2b1c8875c20bb9a329ca3c1f40f92fcba9979ba66791","ParentId":"","RepoTags":["mysql:5.6"],"RepoDigests":["mysql@sha256:270e24abb445e1741c99251753d66e7c49a514007ec1b65b47f332055ef4a612"],"Created":1471893620,"Size":328842164,"VirtualSize":328842164,"Labels":{}},{"Id":"sha256:942fd5fd357e2fe2fcecbaf3dd77c313f22ce18a84a5a4d288c0df407a61e623","ParentId":"","RepoTags":["swarm:latest"],"RepoDigests":["swarm@sha256:c9e1b4d4e399946c0542accf30f9a73500d6b0b075e152ed1c792214d3509d70"],"Created":1471624559,"Size":19471290,"VirtualSize":19471290,"Labels":{}},{"Id":"sha256:c6c14b3960bdf9f5c50b672ff566f3dabd3e450b54ae5496f326898513362c98","ParentId":"","RepoTags":["registry:2.5.0"],"RepoDigests":["registry@sha256:1b68f0d54837c356e353efb04472bc0c9a60ae1c8178c9ce076b01d2930bcc5d"],"Created":1469742140,"Size":33283686,"VirtualSize":33283686,"Labels":{}},{"Id":"sha256:8ecba0e9bd481f27b172d1a0ff04269981946aa1aaa91da3b2f41380031ed865","ParentId":"","RepoTags":["golang:1.6.2"],"RepoDigests":["golang@sha256:95875692658d8938644205d5911d655a134b621dd83b94569bd395fb59b08fa9"],"Created":1467153934,"Size":753515819,"VirtualSize":753515819,"Labels":{}},{"Id":"sha256:4e38e38c8ce0b8d9041a9c4fefe786631d1416225e13b0bfe8cfa2321aec4bba","ParentId":"","RepoTags":["alpine:latest"],"RepoDigests":["alpine@sha256:3dcdb92d7432d56604d4545cbd324b14e647b313626d99b889d0626de158f73a"],"Created":1466711718,"Size":4795112,"VirtualSize":4795112,"Labels":null},{"Id":"sha256:ab940e84795013837bf849b87629188181e483208d6a830f7d8e992fe84d0d70","ParentId":"","RepoTags":["shipyard/shipyard:latest"],"RepoDigests":["shipyard/shipyard@sha256:e7c6b88a193813a8a5095a9f9185dc1e34919bfc02ee213c1eaa3b570d8af40b"],"Created":1464616146,"Size":58892720,"VirtualSize":58892720,"Labels":{}},{"Id":"sha256:c8c29d842c09d6c61f537843808e01c0af4079e9e74079616f57dfcfa91d4e25","ParentId":"","RepoTags":["nginx:1.9"],"RepoDigests":["nginx@sha256:54313b5c376892d55205f13d620bc3dcccc8e70e596d083953f95e94f071f6db"],"Created":1464063409,"Size":182722590,"VirtualSize":182722590,"Labels":{}},{"Id":"sha256:cfee14e5d6f280892b9fb16e830aae5c9458e61a7502048ac45b6b1723e8b0b9","ParentId":"","RepoTags":["shipyard/docker-proxy:latest"],"RepoDigests":["shipyard/docker-proxy@sha256:da6bbd1a145581a940d44940cce0f43705d7f8ec552a4e97e77104ec1b6dc3d1"],"Created":1451362632,"Size":9463693,"VirtualSize":9463693,"Labels":{}},{"Id":"sha256:de1763b1531233c135046c724f63d42440a1fd607067f1678066a00266859bbd","ParentId":"","RepoTags":["ehazlett/curl:latest"],"RepoDigests":["ehazlett/curl@sha256:1989f4b315eed6fef8f41e6a43997e74c9832426f63ee287c65fb5bc116fa803"],"Created":1441488040,"Size":8727439,"VirtualSize":8727439,"Labels":null},{"Id":"sha256:6aef84b9ec5a64742d9a24a5191c9b17a48a12a57168d5cc5d053725d8d555c2","ParentId":"","RepoTags":["microbox/etcd:latest"],"RepoDigests":["microbox/etcd@sha256:941fd46b4eab265c65da9bfbf33397b853a7cef6c16df93a1e3fea7b4e47fc90"],"Created":1439009020,"Size":17862381,"VirtualSize":17862381,"Labels":{}}]

And when add host it shows "Refused"

image

from admiral.

shadjiiski avatar shadjiiski commented on August 20, 2024

Hi, @deadjoe,

This may be a long shot, but are you by any chance running Admiral in a container? If that is the case, the address 127.0.0.1 will resolve to the container subsystem and not to your local machine. And since there is no docker daemon that runs inside of the Admiral container, the "Connection refused" message is expected in this case. If you are running Admiral in a container (i.e. you did a docker run vmware/admiral instead of a local build), please try to use the IP of your machine instead of 127.0.0.1

from admiral.

deadjoe avatar deadjoe commented on August 20, 2024

Yes i ran admiral in container and after change the IP instead of 127.0.0.1 it works .

Thanks

from admiral.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.