Category "docker"

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

Error installing Sharp in docker container

When running an npm install locally everything is fine but as soon as I try it inside my docker container I get the following error: /api/node_modules/sharp/lib

Docker: Can't read class path resource from spring boot application

Reading a classpath resource as, try { final ClassPathResource classPathResource = new ClassPathResource(format("location%sGeoLite2-City.mmdb", Fil

Docker compose wont start selenium grid

I have the following docker compose file version: "3" services: selenium-hub: image: selenium/hub container_name: selenium-hub ports: - "4

Docker build failing- The remote name could not be resolved: 'api.nuget.org'

I am following a pluralsight tutorial- "Developing .NET Framework Apps with Docker" but dockerfile given in one of the demo failing for me. Here is the dockerfi

Error "Connection refused Is the server running on host "127.0.0.1" and accepting TCP/IP connections on port 5432?" in postgresql on docer

I have Django application with postgresql on docker. I tried to insert data like this: import psycopg2 try: connection = psycopg2.connect(user="postgres",

Why are only top-level requests proxied when configuring http clients such as postman or K6

The Goal Run integration tests but stub sub-requests to a specific domain that occur within the API code itself Ideally, do this via docker-compose because I wa