Category "docker"

Share volume in docker swarm for many nodes

I'm facing a big challenge. Trying run my app on 2 VPS in docker swarm. Containers that use volumes should use shared volume between nodes. My solution is: Use

Cannot connect to mysql in Docker container from host

I'm running a Docker mysql container on my Mac laptop. Previously I was able to connect to it from the host OS with the mysql client. However, somehow it got de

k3d tries to pull Docker image instead of using the local one

Just study the core of K8S on local machine (Linux Mint 20.2). Created one node cluster locally with: k3d cluster create mycluster And now I want to run sprin

Unable to pull docker image from local registry for Kubernetes deployment

I've a K8s cluster on Linode and another VM for operating. I've installed Docker & K8s on operating VM to build images and do deployment on cluster. Note: I

Running init script on oracle test container with system privileges

I am struggling with org.testcontainers:oracle-xe:1.14.3. I am trying to run a test intended to verify schema creation and migration, however I'm getting stuck

How to do "docker load" for multiple tar files

I have list of .tar docker image files , I have tried loading docker images using below commands docker load -i *.tar docker load -i alldockerimages.tar where

Make docker-compose ignore folder within volume

I'm using docker-compose for a Rails setup. To sync the files, I've mounted the directory like (some of the code is omitted): app: build: . command: ra

How do Laravel and Docker play together?

I want to get into Laravel development. As per Laravel's installation guide, I have installed Docker first, which was a first for me. But for me to finally inst

link dir in docker to dir on host system

I would like to know how I can - essentailly - mount a docker dir so I can see the files in my file manager and all changes that I make are then present in the

How to deploy a Docker container to Azure App Service from GitLab container registry

I have an application hosted on GitLab and have set the GitLab CI to build my docker image and push it into GitLab Container registry. Now I want to deploy that

Netfilx eureka server - client booth in docker at gitlab ci; 400 bad request

I'm working with two apps, one of them is server-app (Netflix eureka server) and the other is the client-app, they works perfectly on my machine, client registe

Problem running DAPR with docker-compose in ASP .NET core 3.1

I'm trying to run multiple microservices with docker-compose relying on DAPR to establish communication between them. However, even though developer shell logs

How to apply Dockerfile `git config` values to a non-root user's ssh session?

I have a Dockerfile whose base layer includes git, configures git's global user.name and user.email and that starts openssh-server. The Dockerfile is along the

docker-compose Equivalent to Docker Build --secret Argument

We have used the technique detailed here to expose host environment variables to Docker build in a secured fashion. # syntax=docker/dockerfile:1.2 FROM golang:1

System.AccessViolationException inside windows docker container

I am running a 3d-modeling software inside a windows docker container. In the process of a simple run, i get an exception: Unhandled exception. (thread: (Id=2,

Docker in Docker configuration

I am having Jenkins running in K8s and now i am trying to run: docker build as one of the step in Jenkins build. Since Jenkins is running inside Docker, i came

Why I cannot run `apt update` inside a fresh ubuntu:22.04?

I currently don't manage to run apt update inside a fresh ubuntu:22.04 (codename jammy). Protocol $ docker --version Docker version 20.10.2, build 2291f61 $ do

docker service create never returns

What would prevent docker service create ... command from completing? It never returns to the command prompt or reports any kind of error. Instead, it repeatedl

How to delete/disable docker0 bridge on docker startup

Is there any way we can disable docker0 bridge on docker startup ? Tried "bridge": "none" in daemon.json but its not working. Also removed default docker brid

Run docker commands using glob / wildcard on container names

I'm using docker-compose up --scale to create multiple versions of the same container. As a result I end up with containers named container_foo_1, container_foo