Call Docker API without docker daemon

I was wondering is there a way to make a call to Docker API without docker daemon.

I went through their docs and a little bit of source code behind Docker CLI and couldn’t find an answer.

  • how to start a docker container along-with its parameters changed?
  • Docker CMD instruction execution
  • Apache Marathon: Pod/Compose like?
  • LXC integration and auto-scaling with Mesos
  • Using Docker to build an image for Node, my Express based Node app, MongoDb, and NodeBB, connected via Passport
  • How to mount network Volume in Docker for Windows (Windows 10)
  • I want to make a HTTP/HTTPS call to Docker API directly! I don’t want to install docker CLI. Is this somehow possible and can you give an example?

    EDIT:

    I want to make Docker Registry API call without having to install docker to test credentials, which I would later use for docker login command.

  • How to store my docker registry in the file system
  • PyCharm Docker Deployment “[Errno 2] No such file or directory”
  • disable firewalld/iptables in centos7 minimal version
  • Elastic beanstalk : load balancer DNS unreachable
  • Merge container files when using docker-sync
  • Starting postgres service in docker entry script
  • One Solution collect form web for “Call Docker API without docker daemon”

    I think your question is a little confused. You can’t make a call to the Docker API without the Docker daemon because the API is the daemon (or at least, the daemon exposes the API).

    You can of course make requests to (control) the API / daemon without the Docker client though. Simply fire your requests at the socket (unix:///var/run/docker.sock) directly. Or if you want to expose it as HTTP(S recommended) then you can do this by altering the daemon startup options and instead send request over HTTP(S) to that address.

    Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.