Category "docker-compose"

Can't run docker compose v2 in bash, having to use docker-compose

The new docker compose v2 is supposed to allow to run docker compose, using the space to replace the dash, directly. But if I put it in a .sh file and run it, i

How to run a Docker Containers pulled from GitLab Container Registry using Shared Runners?

Basically what I have got working so far is as follows in the following order; Login to GitLab Container Registry Build Docker Containers from docker-compose.ym

Docker Compose ports are being ignored on up

This is my Docker Compose file containing 4 api containers: version: '3.4' services: api1.api: image: ${DOCKER_REGISTRY-}api1 build: context: .

dockerfile, output evaluated commands

Is there anyway to have docker create output the evaluated line? for example # Dockerfile COPY ${SRC}/file . will echo Step 1/1 COPY ${SRC}/file . I want it to

Docker compose specified port not mapping to connect to the health check endpoint

I am a newbie to docker. This is the layout I am working with. I have 2 projects in the docker compose file. A dotnet6 web api and a mvc web app. In the web api

docker suprisingly persistent although it should not be

I have a docker image running for powering a wordpress site. As far as I know, Docker images are not persistent. so any change i make will be discarded once i s

Flutter can not connect to the docker localhost parse-server

I am trying to run a parse-server and parse-dashboard via the following docker-compose.yml docker-compose: version: '3.9' services: database: image: mong

Docker-Compose script not running

I'm pretty new to Docker and especially to docker-compose and I'm running into an issue I can't seem to fix. I have a docker-compose.yml file that looks like ve

Docker-Compose Parse Dashboard

I am trying to run parse dashboard via the following docker-compose.yml: version: '3' services: mongo: image: mongo ports: - 27017:27017 vo

Coco-annotator server crashes unexpectedly

I'm running coco-annotator in a dedicated e2-micro Instance on GCP, and it first it was running smoothly, but recently it has been hanging very frequently, and

Generating files in Docker vs. Docker Compose

I am learning Docker and have a little confusion that I would greatly appreciate some advice on. When creating a new rails application. Following the guidelines

From cache perspective, what is the difference between docker restart and docker-compose restart?

Apologies in advance if these questions are very basic. But I failed to find answers that are on-point: In terms of clearing the container cache (not policies a

Running Nodemon in Docker Container

I'm trying to run Nodemon package in a Docker Network with two services, NodeJs and MongoDB. When I run the app with npm start, nodemon works: I can connect to

FreeIPA Docker Compose WEB UI

After spending hours searching why I cannot access to my webUI, I turn to you. I setup freeipa on docker using docker-compose. I opened some port to gain remote

Is there a good way to cache apt and pip packages on my home network without changes to my clients?

I am testing and building a lot of containers over a somewhat slow internet connection. Every time I test a rebuild it has to re-download all the apt and pip pa

Volumes doesnt work in windows containers Docker

I want to run a mysql container in windows server 2019. For that, Im using this image: vdkhiem/advancedmysqlcore:5.7.27 When I use this docker-compose file it w

Docker and Angular SRR not connecting to backend

I'm trying to divide my application into multiple containers: frontend (Angular), backend (.NET) & database (MySQL). I've set up all containers and they are

Unable to connect to the Postgres database in Docker Compose

I am building a Node JS Web application. I am using Postgres SQL and Sequelize for the database. I have the docker-compose.yaml with the following content.

OCI runtime create failed: container_linux.go:380

I am trying to start a container from the given image below but I am getting the following error: ERROR: for code_challenge_api Cannot start service api: OCI

Mongodb backup using docker-compose

I'm very new to Docker and I'm confused about how to backup the mongodb database. I'm using 2 containers, both connected through a network. the express app cont