Category "docker"

How to fix the error "Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running"

I am trying to spin up a docker container inside another docker container and I get this error: Cannot connect to the Docker daemon at unix:///var/run/docker.s

How to solve network connection when RUN yarn install in docker image build?

I have a peculiar problem occurring only in the Mac environment. When I run the docker build command to build my Node image, it is not able to fetch the package

docker for mac memory usage in com.docker.hyperkit

I'm running docker desktop community 2.1.0.3 on MacOS Mojave. I've got 8GB of memory allocated to Docker, which already seems like a lot (that's half my RAM). S

How to add config args to postgres service container in Github Action?

I am using Github Actions Service Container to start a postgres instance like so: name: Pull Request on: pull_request: branches: - main - sta

Docker container not accessible through server public IP (working only with UFW disabled)

I bought a VPS on Vultr (host system Ubuntu 22.04) with the example IP identified as 123.123.123 and tried to launch a new container with the following command:

Find out value of environment variables being passed to container by docker-compose

I'm troubleshooting a service that's failing to start because of an environment variable issue. I'd like to check out what the environment variables look like f

Azure DevOps - Static Web Apps failing within a Pipeline with container job

parameters: - name: App_VariableGroup type: string default: my-defaults values: - my-defaults trigger: - main pool: vmImage: ubuntu-late

Read time out when trying to list FTP server directory in Docker container on Linux

I have service that polls FTP server with LIST command. I use local passive mode, use FTPSClient with following setting: ftpClient.setTrustManager(TrustManagerU

How do I create an external volume using docker compose?

Basing on this Node-RED tutorial, I'm trying to mount an external volume with the Node-RED files outside the docker machine. I'm using the following docker-comp

npm permission issue in laravel docker setup

If I try and run the following in my docker setup docker-compose run --rm npm run dev I get the following error > dev > npm run development glob err

Why I can't see pause containers in GKE containerd CRI?

I am using a GKE cluster with Ubuntu nodes & containerd as CRI. I am not able to see any pause containers the way we used to see in docker. Are they no more

why docker cp command change /etc/hosts /etc/hostname /etc/resolv.conf owner

My hosts file owner is admin in docker container, after docker cp command to copy a file into container from physics machine, it's owner has been changed to roo

RuntimeError: Click will abort further execution because Python 3 was configured to use ASCII as encoding for the environment

I tried to deploy my flask application in a docker in ubuntu18.04, and I was using python3.5 in my pipenv. But when I run docker build -t flask ., at a step of

How to pass options to a docker ENTRYPOINT?

Consider the command: ls [OPTION]... [FILE]... Options come first, and then comes the file. However, somehow, I have no idea why, ls does not insists on this o

how to run docker container with external application properties file?

How to run docker containers with external application properties files? & how to add properties file into the docker volume ? how to mount the volume with

react-scripts: not found when building docker image in CI, but works locally

I have a Dockerfile to build a React app and copy the build to an Nginx container. FROM node:14-buster-slim AS node-base FROM node-base as deps WORKDIR /app C

Why do we need to map the project files in both PHP-FPM and web server container?

I am pretty new with all of this docker stuff and I have this docker-compose.yml file: fpm: build: context: "./php-fpm" dockerfile: "my-fpm-dockerfil

Two apps with different port in single docker-compose and nginx reverse proxy

I have an app running with app.dev domain in my localhost. However, I would want to have an additional app running with a different port. Instead of port 80, it

Choosing Golang docker base image

Size of the images golang and alpine vary by around 300Mb. What are the advantages of using golang image instead of plain alpine?

ERROR: Version in "./docker-compose.yml" is unsupported

I am running docker-compose build in a folder with the relevant docker files and yml files. I see the following error root@ubuntu187_demo_2:~/IDOLDockerContain