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.

  • Mail server docker with certbot
  • docker-compose down default_network error
  • How to share a Laravel app codebase in a Docker container while preserving permissions?
  • How to create new databases and collections when using MongoDB with Docker?
  • nginx and docker: route all requests from each service properly
  • Stop and restart containers with docker-compose
  • 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.

  • Error: BiocInstaller:::BIOC_VERSION == “3.1” is not TRUE
  • boot2docker workflow for building an image
  • Unable to Make a development environment image for Docker opensource development
  • Forward Ports from boot2docker using the Vagrant Docker provider
  • File name too long on docker
  • Multiple FROMs - what it means
  • 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.