![]() TheĪuthConfig, set as the X-Registry-Auth header, is currently a Base64 encoded Since API version 1.2, the auth configuration is now handled client side, so theĬlient has to send the authConfig as a POST in /images/(name)/push. Use the table below to find the API version for a Docker version: Docker version The current version of the API is v1.23 which means calling /info is the sameĪs calling /v1.23/info. Port, you would reference that in your cURL rather than the ![]() Run curl against the daemon on the default socket, use theįollowing: curl -unix-socket /var/run/docker.sock If you have bound the Docker daemon to a different socket path or TCP Later, as these versions have the -unix-socket flag available. To connect to the Docker daemon with cURL you need to use cURL 7.40 or If a group namedĭocker exists on your system, docker applies ownership of the socket to the The HTTP connection is hijacked to transport STDOUT, STDIN, and STDERR.īy default the Docker daemon listens on unix:///var/run/docker.sock and theĬlient must have root access to interact with the daemon. ![]() The API tends to be REST, but for some complex commands, like attach or pull, This behavior into account to ensure they do not break when talking to newer Properties in incoming messages are ignored. Docker's Remote API uses an open schema model. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |