Skip to content

Tag: dockerfile

How do I execute a docker container

I created the images locally and created one repository in DockerHub called testName/backend. The docker images command shows the created images. And I would like to run the container with a command in the format docker run yourImage:version. So according to this (so I think I should call such a command: docker run 10fc47e065ff:0.0.1-SNAPSHOT However, I get this message: Unable

Create Docker Image with Custom JDK

I’m attempting to create a Docker image for my custom JDK install. It’s simply the Jetbrains Runtime with Hotswap agent added to it. I’m new to docker images and creating a source image like this seems to be extra difficult to find clear documentation. So far, I have this in my Dockerfile and I don’t really know where to go

Converting Shell Script to Dockerfile

I have Java app and want to generate docker image, I have shell script like this: And I try to convert it into Dockerfile like this It can be generated, but there’s an error when I try to run it like this: I’ve also changed this script RUN for rJarFile in `ls ${APPLICATION_DIR}/lib/*.jar`; do export into this RUN for rJarFile

“b’OCI runtime create failed: container_linux.go:380?

Client Error: Bad Request (“b’OCI runtime create failed: container_linux.go:380: starting container process caused: exec: “/usr/lib/jvm/java-8-openjdk-amd64/bin/java”: stat /usr/lib/jvm/java-8-openjdk-amd64/bin/java: no such file or directory: unknown'”) this my error ,I cann’t fix this ,when I use docker-compose and docker my version Dockerfile docker-compose.yml docker-compose.node-java.yml Any suggestion will help !!! thank you very much Answer I think the path to the java executable in

Configure Hazelcast via external yml-file

I´ve a running hzc-yml configuration in classpath – the generated jar file works fine in a docker context. Now I want to load this yml-file externally. I added this startup-property to my DOCKERFILE: The whole DOCKERFILE looks like: It seems that the service wants to apply the external yml-file, but I always get this error: hzc-service | /bin/sh: ./hazelcast.yaml: Permission