Category "docker-compose"

Set Java/JRE default settings which can be overridden by JAVA_TOOL_OPTIONS

I have multiple java spring boot services, which are running in docker containers and are configured via docker-compose. Each of those services need several jav

Dockerfile: Cannot find module '/usr/src/app/dist/main' - Dist folder does not exists on container

I'm having the following error when trying to execute my NestJS App with Docker: > [email protected] start:prod > node dist/main node:internal/modules/cj

Command in dockerfile doesn't take effect

Below is my dockerfile. After the dependencies are installed, I want to delete a specific binary (ffmpeg) from the node_modules folder on the container, and the

Why does my docker build never stop ? (503 Service Unavailable)

I have a strange docker behavior that I don't know where it comes from. After I run docker compose build my terminal just kind of "Freezes" after everything is

How do I deploy a dev container without running every other service?

Below is a docker-compose.yml from Visual Studio Code "Go & PostgreSQL" development container preset (original avaiable here): version: '3.8' volumes: po

Why can't my airflow webserver initialize properly?

When I create a dummy DAG following the Apache guide to airflow in Docker and run docker-compose up, the webserver container repeatedly fails and restarts with

how does docker-swarm expose port?

After I deploy a docker application using docker-swarm, the application is accessible from $mac-host-ip:8481, and then I noticed the following from my host (Mac

Docker: Apache in Apple Silicon M1

I have a docker-compose.yml file: version: '1' services: mariadb: image: 'docker.io/bitnami/mariadb:10.3-debian-10' ports: - '3307:3306' vol

docker-compose with podman won't allow to run entrypoint

I use Fedora 35 Silverblue. I followed this article on how to make podman and docker-compose friends in rootless mode. I made a simple project: . ├─

Mongo Authentication failed after docker-compose up

I'm trying to automate my local dev environment with a mongo docker instance. If I up the image with no users or auth, I can connect fine but when I try to crea

failed to mount local volume

I'm trying to execute docker-compose for this configuration: version: '3' services: db: hostname: db.magento2.docker image: mariadb:latest

Where is the bug in docker-compose?

I run a simple project (docker-compose and nginx), but it don't work and I do not know why. I include the entire code of the project so as not to miss anything.

Access host database from service located in a docker container

If I have a Postgres database running on the host machine (os: Linux), and some service running in a container of docker-compose. How would I access the databas

Issue with Docker on Linux (Ubuntu + Fedora): "filesystem layer verification failed for digest sha256"

docker run hello-world works just fine, but when I try to pull with docker and docker-compose I get this error every time. I also tried Podman and had the same

Container volume not mounting to local path

Python Code: with open("/var/lib/TestingVolume.txt", "r") as outFile: data = outFile.read() with open("/var/lib/TestingVolume.txt", "w") as outFile: out

ECS Connecting to AWS Document DB with TLS Enabled

Currently, I am developing a Spring Boot Microservice and Trying to Deploy it over in Fargate using Cloud Formation. I am using packaging type as war and using

command prompt does not allow me to use docker and mysql functions at the same time for creating an sql database in docker container

I start by saying that I am new to the docker and mysql functions for creating containers with a volume. In this case I need to import a .sql file called databa

Error response from daemon: failed to create shim when installing Nodejs

I am trying to create a docker image with node.js version 16. However I failed to find solution to this problem despite searching stackoverflow and other platfo

How to ignore files or directories within bind-mount volume in docker-compose file?

Is there any way to ignore some files or directories within volume of type bind-mount? I would like to ignore for example all bin and obj directories within my

Why is docker-compose failing with ERROR internal load metadata suddenly?

I've been running docker-compose build for days, many times per day, and haven't changed my DOCKERFILEs or docker-compose.yml. Suddenly an hour ago I started ge