Category "docker"

Traefik 2.0 and Docker set middleware without naming the router

I'm using traefik 2.0 with docker provider (swarm mode) and I wish to provide a default way for services publishing themselves on traefik avoiding conflicts. I

NestJS app build with docker can't access postgres database in the same docker network: ECONNREFUSED 127.0.0.1:5432

I want to run my app on my local machine within Docker. I don't want to optimize the size of my docker app or build it for production now. Docker builds my back

Python kernel not found by vscode when running docker container

I am trying to build a docker image to do debuging of a module that has lots of odd dependencies in vscocde. I am using the dockerfile below to build the image:

Can you use custom docker image for Azure Pipelines when using the generic Git connection?

When using the GitHub connection with Azure DevOps pipelines I see that you can specify a docker image in your azure-pipelines.yml file (vmImage: option) But w

How to Install Cudatoolkit in python environment in dockerfile

I need to Install the Cudatoolkit in Docker file which is Python environment but cudatoolkit can only install by conda parameter. We cant use conda in python. O

Unable to connect to kafka in docker from Spring boot in host machine

I have already gone though Robin Moffat's blog, and several SO posts on the same subject, but still my configuration doesnt work. My docker-compose.yml: kafka

Cannot pull the project from Bitbucket (the project is with IP restrictions) while using Docker with WSL2 Ubuntu-20.04 Distro

I've a Symfony project that I am running on my PC with Symfony serve. This project is on Bitbucket that has IP restrictions, I can only work from home and nowhe

How to alias docker-compose to docker compose?

From my understanding, docker compose is the latest version. This is the one at least I installed from docker official documentation. I am working on a project

Hyperledger Blockchain Explorer-Fail to connect before the deadline on Endorser, fail to connect to remote gRPC server

I am trying to set up a Hyperledger Fabric Network with Hyperledger Explorer. I spin up a VM on the digital ocean cloud with ubuntu OS. From there, I spin up 3

SONiC requires Docker version 17.06.1 or later

I'm trying to build a SONiC virtual switch image by following these instructions https://github.com/Azure/sonic-buildimage. This issue I have is that when I run

How to run "dotnet publish" with the runtime flag in a multi arch Dockerfile?

I have a set of ASP.NET Core 6.0 services hosted on AWS ECS Fargate. Currently they are running on x64 but I want to experiment using the ARM architecture. Also

Java Testcontainers - Cannot connect to exposed port

I implemented a POP3 server and client using javax.mail just to try doing integration testing with Docker. So I created two Docker images based on the openjdk:8

How to switch Docker mode(Linux/Windows)? no matching manifest for linux/amd64 in the manifest list entries

I am on Windows 10 Simple image building does not work docker run -it --rm mcr.microsoft.com/windows/nanoserver:1809 Unable to find image 'mcr.microsoft.com/win

failed to start daemon: pid file found, ensure docker is not running or delete /var/run/docker.pid

I start docker sudo service docker start then I try to run dockerd sudo dockerd it shows the following error: INFO[2021-11-21T19:25:52.804962676+05:30] Start

Docker containers not listed

I am pretty new to Docker/Portainer, and try to get to understand the basics. I have several Containers running (i can access them), which are not listed with "

Pass variables from .env file to dockerfile through docker-compose

project └───app │ │ ... │ │ Dockerfile │ │ └───prod.env └

AWS workspaces Golden Image Linux - Adding provisioned user to docker group

I created a linux golden image for aws workspaces with docker installed on it. I provisioned the workspace bundle to an AD user. docker version gave - Client:

Docker Image For UWP Application

From the microsoft docs: Docker support is available for ASP.NET projects, ASP.NET Core projects, and .NET Core and .NET Framework console projects. I've bee

xdebug 3 not working in ubuntu 20.04 with docker

I'm trying to use xdebug 3 with docker on ubuntu 20.04, but I'm not getting success, xdebug does not enter the interruption point, I already searched for everyt

Docker - can not expose on port 80

I have a problem with expose my .Net Core App on Docker. My Dockerfile starts like that FROM mcr.microsoft.com/dotnet/core/aspnet:3.1-bionic AS base WORKDIR /ap