Category "docker-compose"

minio kes and Hashicorp vault using docker-compose

I want to use KES and Hashicorp vault to encrypt files in minio. Without using docker, I managed to encrypt files using these servers. My problem is that I want

Docker: Error grabbing logs: invalid character '\x00' looking for beginning of value

I upgraded my Docker version to the latest one and I got this error: error from daemon in stream: Error grabbing logs: invalid character '\x00' looking for

Airflow DockerOperator unable to mount tmp directory correctly

I am trying to run a simple python script within a docker run command scheduled with Airflow. I have followed the instructions here Airflow init. My .env file:

Is it safe to clean docker/overlay2/

I got some docker containers running on AWS EC2, the /var/lib/docker/overlay2 folder grows very fast in disk size. I'm wondering if it is safe to delete its con

Connect to a Nest.js server inside a docker container

I'm trying to create a container for a Nest.js server. For now,I only have the basic version of the server that creates automatically when you create a Nest pro

docker-compose change name of main container

I have a simple frontend and backend app. And I have a docker-compose file but it's inside frontend folder. So when I run it both frontend and backend container

How to see error logs when docker-compose fails

I have a docker image that starts the entrypoint.sh script This script checks if the project is well configured If everything is correct, the container starts

Docker - "Error: EACCES: permission denied, mkdir '/project/node_modules/.cache/@babel'"

Running yarn docker-build works fine but when yarn docker-up or yarn docker-dev an error pops up when RUN yarn is called. Nginx starts up fine but yarn fails in

Error running docker container: starting container process caused "exec: \"python\": executable file not found in $PATH": unknown

I am trying to dockerize a simple Python-Flask application but I am getting an error while running my container. docker: Error response from daemon: OCI runtim

How to run Sequelize migrations inside Docker

I'm trying to docerize my NodeJS API together with a MySQL image. Before the initial run, I want to run Sequelize migrations and seeds to have the tables up and

Kafka Client Timeout of 60000ms expired before the position for partition could be determined

I'm trying to connect Flink to a Kafka consumer I'm using Docker Compose to build 4 containers zookeeper, kafka, Flink JobManager and Flink TaskManager. For z

Cors problem with nginx/django from react app on docker

I have a question about cors implementation in django. Having a problem with setting the correct cors values. My deployment is on docker. I have a deployed 3 co

Airflow:Docker-Compose:"You are running pip as root Please use user to run pip"

Requirement: To run local Airflow using official docker-compose with Airflow version 2.3.0 Issue: "You are running pip as root Please use user to run pip" Airfl

Changing the image in Docker Compose based on the host OS

I am creating a PHP app, and using Docker + Docker Compose to run it. My problem is, I want users to be able to run my project on any OS with no hassle. Howeve

How do I run Prisma migrations in a Dockerized GraphQL + Postgres setup?

I'm new to using Prisma as well as Dockerizing my setup. I would like to specify my data model using Prisma, have Postgres as my database and use that in a Grap

Executable not found in docker compose /bin/sh: 1: main: not found

I am trying to run my restful api in docker but having issue with my golang executable it is always not found. Here is my Dockerfile # Start from golang base im

Docker-compose set user and group on mounted volume

I'm trying to mount a volume in docker-compose to apache image. The problem is, that apache in my docker is run under www-data:www-data but the mounted director

How use `echo` in a command in docker-compose.yml to handle a colon (":") sign?

Here is my docker-compose.yml, elasticsearch: ports: - 9200:9200/tcp image: elasticsearch:2.4 volumes: - /data/elasticsearch/usr/share/elasticsearch/da

creating db and tables in a dockerized Clickhouse instance from docker-compose file

My requirement is to create DB and Tables in Clickhouse when I'm bringing it up using docker-compose. If it is mysql, I do it as below : mysql_1: image:

ERROR: In file './docker-compose.yml', service 'volumes' must be a mapping not an array

My docker-compose.yml looks like the below and I am trying to follow the compose file from the docker registry documentation here. When i run docker-compose up