Questions tagged [docker-compose]
Compose is a tool for defining and running complex applications with Docker. With Compose, you define a multi-container application in a single file, then spin your application up in a single command which does everything that needs to be done to get it running.
docker-compose
32,256
questions
-1
votes
0
answers
21
views
Failed to load ApplicationContext for [WebMergedContextConfiguration@fcb4004 testClass in Spring boot on docker compose
I would like to add authorisations via LDAP to the project. So I added the necessary classes to the project and there was a problem building the application. I have tried various configurations ...
0
votes
1
answer
335
views
Return value of sqlExceptionHelper() is null
I was trying my hands on running my Spring Boot application with MySQL database on Docker Desktop via docker compose. I am getting this error upon running docker compose up .
app-1 | java.lang....
0
votes
0
answers
12
views
Run into an issue after typing the command docker compose up -d [duplicate]
This is in vagrant
run sudo -i
cd emartapp
Run docker-compose up -d
Here's the command and error message
[root@localhost emartapp]# docker compose up -d
[+] Building 33.8s (12/20) ...
0
votes
0
answers
25
views
i want to deploy a djago project, using gitlab cicd. but i see "module not found error".but the path seems to be set correclty
I am currently working on a django project and need to deploy this to the server. I use gitlab for ci/cd purpose. for requests, i use the gunicorn and the nginx. i dockerized the nginx and the '...
2
votes
2
answers
89
views
How to use docker compose secrets with a non-root user when a file is required
Situation
The current (07/2024) docker compose documentation states (falsely) that there is a long-syntax when using 'docker secrets' that can defines the name, uid, gid and mode of the mounted file
...
-2
votes
0
answers
19
views
Error response from daemon: container ... is not running
tudo bem?
Possuo um docker o qual ao eu dar o seguinte comando:
docker compose up -d --build
Ele inicia vários containers, mas ao inciar o container do meu banco de dados ele acaba dando esses erros ...
0
votes
0
answers
36
views
SQLSTATE[HY000]: General error: 1005 Can't create table 'service' (errno: 13)
MySQL keep failing on creating table. I read about the error on other resources and nothing helped.
When i ran command -
"docker compose -f ./docker/docker-compose-linux.yaml run --rm php-cli ./...
-1
votes
0
answers
88
views
Why is podman-compose unable to find docker-compose?
I'm getting the following error when running docker compose up -d:
$ docker compose up -d
Emulate Docker CLI using podman. Create /etc/containers/nodocker to
quiet msg.
Error: looking up compose ...
0
votes
0
answers
42
views
Docker container can't access named volume [closed]
I'm spinning up a service with via docker compose and in it, create a named volume, only specifying the container path, not the host path. I'm not bind mounting an existing directory.
See my (...
-4
votes
0
answers
19
views
Spark and kafka integration in anaconda or docker [closed]
For my final year project, I need to use apache spark and kafka for data streaming. I have already set up pyspark environment in anaconda, but as for kafka I have no clue as there are no guides that ...
0
votes
1
answer
34
views
Nginx on VPS proxy to Docker container timeout
I’m new to using docker on servers, I have only used it for local development. I am working on a project that the server has nginx installed on it (the host machine), and also some containers running ...
0
votes
1
answer
40
views
pull access denied for [region]-docker.pkg.dev/[project-id]/[repo]/[image], repository does not exist or may require 'docker login': denied
I'm trying to pull a Docker image from Google Artifact Registry using a service account, but I'm encountering a
Error response from daemon: pull access denied for
asia-southeast1-docker.pkg.dev/[...
-1
votes
0
answers
17
views
Mount a CIFS share to a docker container running inside WSL2 Ubuntu
I'm trying to run a Docker container called Unmanic. I want it do be able to access a files from a share on my NAS.
I got Docker Desktop and WSL2 running on pc and the container is up. I can access ...
0
votes
0
answers
22
views
SyntaxError: Unexpected identifier 'port' occur when execute "docker-compose up" command in command prompt
When I execute "docker-compose up", there is an error related to Javascript about node. Here is Javascript file
index.js
const express = require('express');
redis =require('redis');
const ...
0
votes
0
answers
10
views
Digital Ocean Droplet & Docker Port-Mapping, Axios Default URL Issue
I am running four Docker containers on a digital ocean droplet. A react frontend, a django backend, a Postgres database, and pg_admin GUI.
In my frontend, I'm using an axios default URL to syphon my ...