Category "docker"

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

Setting URL of ECS container health check

I have a docker image I want to run on AWS ECS. This is a API I want to use from other applications. I have set up the task definition, however it runs for a fe

on building docker image level=error msg="Can't close tar writer: io: read/write on closed pipe"

time="2017-10-27T07:39:20Z" level=error msg="Can't add file /var/app/current/app/content_classifier/forest.pickle to tar: io: read/write on closed pipe" time="

How can I use Azure Devops Release Pipeline Variables in a Kubernetes CI/CD with Helm?

I'm currently working on setting up a CI/CD pipeline to my client's new Kubernetes clusters that they host on Harbor using Helm and Azure DevOps Server, and I'm

Unable to start Docker in WSL2 using new Windows Terminal

I have recently installed WSL2 and installed Ubuntu from Microsoft Store.When i run docker using Sudo service docker start, i get below message Cannot connec

Unable to access Kibana behind NginX reverse proxy on Docker

I have a Docker Compose setup with NginX, ElasticSearch and Kibana like the following: web: build: context: . dockerfile: ./system/docker/develo

Docker run - connection was reset while the page was loading

I'm playing around with Docker and I've run into an issue whereby whenever I try to access my container, I receive a "The connection was reset" message. I've re

docker-compose create a directory instead of mounting the file

I have a very simple docker-compose.yml file where I use nginx and mounting a file as a volume. But everytime I run the application, it is creating a directory

Docker file system not loading into localhost

Current I am working on a full stack application with a react frontend, mysql DB, and apache php instance. Something seems to be up with my changes going from m