Questions tagged [docker-api]

Use this tag with the Docker Engine API.

Docker runs as a client-server accepting request via the Docker Engine API.

Image

189 questions
0
votes
0 answers

How get list Docker private docker organization images with docker api v2

i am tried this not working am able list my public repository images but origination images curl -L -s 'https://hub.docker.com/v2/namespaces/devops/repositories/core7/tags?page_size=1024'
sammahi
  • 23
  • 6
0
votes
0 answers

No access to Container Create

I am using testconatiners to start a container on a Jenkins instance. Testcontainers uses the Docker Engine API to start this container. However, when it tries to do so, sending a POST request to the /containers/create endpoint, it receives the…
Ben
  • 332
  • 3
  • 16
0
votes
1 answer

Docker push on local registry gets stuck

I'm trying to push an image to a local docker registry deployed with docker-compose the following way: services: docker-registry: image: registry:2 restart: unless-stopped environment: - REGISTRY_STORAGE_DELETE_ENABLED=true …
Benjamin Barrois
  • 2,566
  • 13
  • 30
0
votes
1 answer

Kill signal to Docker Operator Airflow

I'm facing a problem with the Docker operator Airflow. I need to make graceful exit after marking task as failed. Airflow sending Signal.SIGTERM to task, but script inside Docker container doesn't get SIGTERM, it is killed without a graceful…
dmitry
  • 41
  • 3
0
votes
0 answers

Docker API - Exec start returns garbage bytes

I am posting with Postman through Docker API 1.41 an Exec command to a container to get md5, sha1 and sha256 of some files on same line. Works OK but it returns garbage at the beginning of the response. Can anyone spot the problem? POST…
Elias
  • 452
  • 5
  • 11
0
votes
1 answer

Where are the manifest files of docker images stored on private registry?

I have a Harbor registry containing docker images on AWS s3, what is the path for the manifest file for each image?
0
votes
1 answer

starting docker container with port binding on docker engine api

reading the doc from docker remote api I get issue when start my container using the API https://docs.docker.com/engine/api/v1.41/#operation/ContainerCreate The doc at the "Publish or expose port (-p, --expose)" section talks about use the -p to…
0
votes
1 answer

Artifactory - Docker Registry _catalog call , returns blank

We have an Artifactory configured as a docker registry and when call is made to https://artifactory/v2/_catalog, the catalog call returns blank, rather then listing docker image repositories. According to…
0
votes
0 answers

Dockerize docker API program

I have a program that simply pull a docker image through docker API and run it as a container, I can run it smoothly but my question is, can I dockerize this program? A few issues I come to is: how do I attach the unix socket /var/run/docker.sock…
rixpl
  • 31
  • 7
0
votes
0 answers

I can't reach my containers using docker java api client ( windows 10 ) timeout reached

I need to list all my containers which are up with docker compose file in windows . this is my code : public void listContainer() { DefaultDockerClientConfig config = DefaultDockerClientConfig.createDefaultConfigBuilder() …
0
votes
1 answer

Library 'junixsocket-native-2.0.4.dll' not found! with java docker api

When trying to list all my containers which exist with docker on windows 10 . I got this error : Library 'junixsocket-native-2.0.4.dll' not found! This is my code : public void listContainer() { DefaultDockerClientConfig config =…
0
votes
0 answers

manipulate docker container from through another container using java docker api

I have a spring boot app dockerised named monitormaster I need to connect to another container host to do some manipulation on it like restart , stop , start ... I have problem in docker api with the host (" maybe " ). This is my docker file : and…
0
votes
0 answers

Docker Registry v2 authentication using OAuth2 does not return refresh token when `access_type=offline`

By following command snippet in https://docs.docker.com/registry/spec/auth/oauth/ as below and set access_type=offline, refresh_token is not present in returned response. curl -iX POST https://auth.docker.io/token -H "Content-Type:…
robert
  • 397
  • 1
  • 3
  • 14
0
votes
1 answer

How can I POSTto the Docker API using node.js http?

I have created a node.js express app that calls the Docker API on the unix socket /var/run/docker.sock Anything involving a GET request works as expected. For anything involving a POST request, the action will get carried out, but then any future…
Dave H.
  • 538
  • 5
  • 11
0
votes
1 answer

Find docker tags that are synonyms of the "latest" tag via the REST API

I have a container image called troubleshooting. There are 5 different versions of the image in the my private repository. (Meaning 5 different image digests listed.) The most recent image has a tag on it called latest. I need a way to get the…
Vaccano
  • 78,325
  • 149
  • 468
  • 850