David M. Lentz

Results 8 comments of David M. Lentz

✋ I'd like to contribute here, too.

Endpoint: https://docs.docker.com/reference/api/engine/version/v1.49/#tag/Container/operation/ContainerList Curl: `curl --unix-socket /var/run/docker.sock -X GET http://localhost/v1.49/containers/json`

Endpoint: https://docs.docker.com/reference/api/engine/version/v1.49/#tag/Container/operation/ContainerStop Curl: `curl --unix-socket /var/run/docker.sock -X POST -v "http://localhost/v1.49/containers/{id}/stop"`

Endpoint: https://docs.docker.com/reference/api/engine/version/v1.49/#tag/Image/operation/ImagePrune Curl: `curl --unix-socket /var/run/docker.sock -X POST "http://localhost/v1.49/images/prune" -H "Content-Type: application/json"`

Endpoint: https://docs.docker.com/reference/api/engine/version/v1.49/#tag/Image/operation/ImageCreate Curl: `curl --unix-socket /var/run/docker.sock -X POST "http://localhost/v1.49/images/create?fromImage={image}&tag={tag}"`

Endpoint: https://docs.docker.com/reference/api/engine/version/v1.49/#tag/Image/operation/ImageDelete Curl: `curl --unix-socket /var/run/docker.sock -X DELETE "http://localhost/v1.49/images/{name}"`

Endpoint: https://docs.docker.com/reference/api/engine/version/v1.49/#tag/Image/operation/ImageSearch Curl: `curl --unix-socket /var/run/docker.sock -X GET "http://localhost/v1.49/images/search?term={term}"`

Endpoint: https://docs.docker.com/reference/api/engine/version/v1.49/#tag/Image/operation/ImageList Curl: `curl --unix-socket /var/run/docker.sock -X GET "http://localhost/v1.49/images/json"`