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.

  • Error while Using docker behind proxy- TLS failed to parse certificate
  • Connection slow from node to mongodb
  • Docker can't pull image from repository
  • Why does docker container prompt “Permission denied”?
  • Should servlet running under tomcat in a container exit when it is not able to reach DB container?
  • Docker Fluentd Logging Driver For multiline
  • 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.

  • Docker container communicating with external database
  • Simple docker-compose with two services: nginx and php
  • Trigger automatic build on dockerhub when some package is updated in official repository
  • Pushing a Docker image with gcloud failed
  • Docker command won't connect to docker
  • What's the difference between Docker and Rocket from CoreOS?
  • 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.