Category "docker-compose"

Docker-compose.yml file that builds a base image, then children based on it?

For clarification, when I say base image, I mean the parent image that has all the common configurations, so that the children based on it don't need to downloa

Docker custom user Permission Denied, while accessing container's file system

I've created a custom user using my Dockerfile. Here is my Dockerfile: FROM python:3.7-alpine3.10 # Make /opt/ working directory in docker container. WORKDIR /

SCRAM authentication requires libpq version 10 or above

i'm trying to implement docker in my rails api but I keep getting this error PG::ConnectionBad: SCRAM authentication requires libpq version 10 or above. I've tr

How to connect locally hosted MySQL database with the docker container

Through docker-compose.yml I am able to run the application. Now we want to move the application to production, But we don't want to use the container database.

Docker : compose file is incompatible with Amazon ECS

I am trying to deploy my docker image in AWS ECS. I have created the ECR repository and done all required steps till pushing the image to ECS. My docker-compose

Storing docker nginx access logs inside a docker volume

Currently my docker container is printing the nginx access logs to /dev/stdout. How do I create a volume inside my docker container to store the access logs?

docker-compose selenium grid

I'm using docker-compose version 2 to build a local selenium grid, and I'm running into trouble. Most of my trouble is coming from a lot of old blogs/documenta

How to use local docker images with Minikube?

I have several docker images that I want to use with minikube. I don't want to first have to upload and then download the same image instead of just using the l

Install sdkman in docker image

Getting error while installing SDKMAN! in Ubuntu 16.04 docker image. FROM ubuntu:16.04 RUN apt-get update RUN rm /bin/sh && ln -s /bin/bash /bin/sh RUN

How to prevent database docker from being rebuilt and losing production data

I love using docker & docker-compose for both development and production environments. But in my workflow, I keep considering dockers as disposable: it me

Why could Kafka warn "partitions have leader brokers without a matching listener"?

I'm trying to get Kafka to work on docker-compose for the first time. The application runs fine without docker. But on docker, I get the error as described belo

How to mount existing directory on Windows Host in Docker Portainer?

I have docker-compose.yml volumes: - D:/Docker/config:/config - D:/Downloads:/downloads I can do this with docker-compose up without any issue Bu

debconf: delaying package configuration, since apt-utils is not installed

I'm setting up Docker to run my CakePHP application and my Dockerfile is like FROM php:7.2-apache # Enable Apache Rewrite + Expires Module RUN a2enmod rewrite

Volume binding using docker compose on Windows

I recently upgraded my Docker Toolbox on Windows 10, and now my volume mounts no longer work. I've tried everything. Here is the current mount path: volumes:

Problem with setting up a stack nginx proxy manager using portainer on my home server

I had this error while trying to setup a nginx proxy manager container using portainer, portainer started without problems error: Recreating 3167b8f95097_nginxp

Problem while rs.initiate() for setup docker-compose for replica set

I want to setup MongoDB replica set with docker-compose with only one node. This is my docker-compose.yml file: version: '3.7' services: mongodb1: image

WARNING: The DB_USER variable is not set

I am using docker compose for my project. And I have a strange error after docker-compose up --build: WARNING: The DB_USER variable is not set. Defaulting to a

CORS Error with dgraph and apollo graphql

I am unable to run query requests with my local dGraph server. I am running dGraph using docker compose with both zero and alpha React client side frontend usin

Difference in docker restart policy between on-failure and unless-stopped?

I have read the docker-compose documentation about restart policy of containers, However I failed to understand the difference between on-failure and unless-st

Can't log MLflow artifacts to S3 with docker-based tracking server

I'm trying to set up a simple MLflow tracking server with docker that uses a mysql backend store and S3 bucket for artifact storage. I'm using a simple docker-