Category "docker"

File content is different in Docker image vs mounted folder

I have a mounted folder and I download files into this folder through Spring boot application in docker container. File content is correct in my macbook's mount

What is the difference in the user defined in Dockerfile and docker-compose file?

I have a Dockerfile as below: FROM jenkins/jenkins:latest USER root RUN whoami USER jenkins RUN whoami and this docker-compose file version: '2' services:

Laravel docker-compose 404 not found Nginx

I'm facing a strange behavior when trying to run my Laravel app using docker-compose. After starting the containers, if I try to visit my website URL I get the

Userid and Group id in docker run command

When do we need to add -u $(id -u):$(id -g) in docker run command? I see that it is user id and group ip mapping. But I want to understand this better.

Access env variables inside docker entrypoint script

I want to pass environment variables in my docker run command and access them in my entrypoint shell script. This is my super simple Dockerfile for test purpose

SSH disconnected after start docker on AWS

I installed docker on aws according to thes docs https://docs.docker.com/engine/install/centos/ https://docs.aws.amazon.com/AmazonECS/latest/developerguide/dock

Not able to open Control Center UI on localhost

I am trying to understand confluent kafka and do some hands on with it Trying to setup on my local machine . I have followed the instructions in this doc : http

What is the point in backing up a docker container?

I have started using Docker recently and currently running Portainer and Nginx. Of course, I've also started looking deeper into Docker, how it works, how to ba

org.testcontainers.dockerclient.DockerMachineClientProviderStrategy - docker-machine executable was not found

When I try to run test containers I get the following error. The docker machine not found in /root/.sdkman/candidates/gradle/current/bin, /usr/local/sbin, /usr

How to get all docker image layers in k8s masternode

I'm a beginner at Kubernetes and Docker. I want to receive the image layer of all the containers that are operating on the master node of k8s. (If there is any

Creating an image with Docker and resources outside the main directory

I try to build an image with Docker (10.20.13 on RH 7.9). But some of my resources are outside the Dockerfile directory. Below is my tree : /dir1 ├─

Azure DevOps self-hosted build agent - Kaniko

We need to build docker images using self-hosted linux agent which is deployed as docker container (in Azure Container Instances). As of now, the agent is Ubunt

I make a docker image using linux and installed an Oracle Db 19c using the official base image linux/amd64. now running on Mac M1 give me an error

WARNING: The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested Oracle

Docker Compose ports are being ignored on up

This is my Docker Compose file containing 4 api containers: version: '3.4' services: api1.api: image: ${DOCKER_REGISTRY-}api1 build: context: .

dockerfile, output evaluated commands

Is there anyway to have docker create output the evaluated line? for example # Dockerfile COPY ${SRC}/file . will echo Step 1/1 COPY ${SRC}/file . I want it to

Why is my connection refused while connecting to upstream? Nginx Error 502

I have 3 docker containers CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS

Docker compose specified port not mapping to connect to the health check endpoint

I am a newbie to docker. This is the layout I am working with. I have 2 projects in the docker compose file. A dotnet6 web api and a mvc web app. In the web api

OkHttpClient is not working inside Docker

I'm building server inside docker and trying to use OkHttpClient to get data but it seems not working. When I test with postman, there is nothing logged in serv

docker suprisingly persistent although it should not be

I have a docker image running for powering a wordpress site. As far as I know, Docker images are not persistent. so any change i make will be discarded once i s

Problem with Kibana login after set SERVER_BASEPATH SERVER_PUBLICBASEURL

Hi I have configured kibana with SERVER_BASEPATH and SERVERPUBLICURL but I am receiving "GET /api/licensing/info 401" and the login page is refreshed and go bac