Skip to main content
Stack Overflow
  1. About
  2. For Teams
Filter by
Sorted by
Tagged with
0 votes
1 answer
533 views

I'm trying to use the Docker-Java API. Following the instruction in https://github.com/docker-java/docker-java/blob/main/docs/getting_started.md I build a DockerClientConfig and try to build a ...
0 votes
1 answer
448 views

I’m trying to connect my Spring Boot application to the Docker daemon using the docker-java library, but I’m encountering the following error: java.lang.RuntimeException: org.apache.hc.client5.http....
0 votes
1 answer
164 views

I'm trying to create a local Docker registry using Testcontainers and push an image programatically to it. However, I'm getting a connection refused error when attempting to push the image. The first ...
0 votes
1 answer
342 views

Environment: Fedora 39 openjdk-17 docker 25.01 My purpose is to run ffmpeg to merge Multiple video files into a single file, and i choose to use docker(manage by com.github.docker-java:docker-java:3.3....
0 votes
1 answer
351 views

Initial Error: Encountered a NoClassDefFoundError when building with Docker Java API on a spring boot "3.2.1" Kotlin 1.9.21 project java.lang.NoClassDefFoundError: javax/ws/rs/core/...
0 votes
0 answers
166 views

I have a docker-swarm stack with a number of services, one of which is a java application container that needs to launch a command in the shell of another container. The two services are deployed on ...
Luigi's user avatar
  • 411
1 vote
1 answer
403 views

I am trying to run an exec command on an already running docker container on a remote host using java. I am successfully able to run the exec command from the CLI of the host machine using docker exec ...
de5tro's user avatar
  • 29
1 vote
1 answer
211 views

When running an ocrmypdf docker container, all I get is the following message: ocrmypdf: error: unrecognized arguments: 64ee37a6fc66cf591ce4a35f-1.png_OCR.pdf This is what my docker inspect container ...
1 vote
1 answer
2k views

I am trying to create a Docker client with the Docker Java API, but I get a ClassNotFoundException when running my code. I am following this Baeldung guide, but I am using the latest version of docker-...
Anzu67's user avatar
  • 33
0 votes
1 answer
231 views

Can the Docker Java client library (https://github.com/docker-java/docker-java) be used to execute custom commands? I want to use the library to check if Docker images I need to download are ...
1 vote
1 answer
3k views

I am using azul/zulu-openjdk-distroless:17.0.6 image and want to execute the java command with parameters but it fails at the runtime Here is my docker image: FROM alpine:3.17.3 as build-env ARG ...
3 votes
1 answer
2k views

I have an existing PostGres docker container running in the background. Is it possible to create a GenericContainer that will parse the existing PostGres container by taking in the container ID, ...
3 votes
2 answers
5k views

I have this very simple code for running my integration test: (using Testcontainer artifact version 1.16.2) Note: I have tested whether this port in test is available before running the test case. @...
0 votes
1 answer
378 views

I'm trying to run this command in docker trough java, but i don't know why it only works when i execute the command in the host machine and not trough java (when execute on java it doesn't add or say ...
R3bck's user avatar
  • 53
0 votes
1 answer
682 views

i'm using the java-docker client from here: https://github.com/docker-java/docker-java. I trying to figure out how to set the stop timeout for the docker stop command. So i'm using in java the method ...

15 30 50 per page
1
2 3 4 5

AltStyle によって変換されたページ (->オリジナル) /