Questions tagged [docker-compose]
The docker-compose tag has no usage guidance.
90
questions
0
votes
1
answer
452
views
IP address removed from docker0 bridge on QEMU/KVM virtual machine
I'm renting a virtualized server running Ubuntu 22.04 and I'm trying to run Docker containers within it. The server is virtualized with qemu-kvm.
Unfortunatly, the containers don't have network access....
1
vote
0
answers
658
views
Persist Prometheus data from a Docker Container
I'm running Prometheus and Grafana from docker-compose and basically it works. But I don't get my prometheus data to persist on my host machine.
As soon as I switch my volume settings from
---
version:...
0
votes
1
answer
733
views
building with docker compose v2 fails but legacy docker-compose v1.29.2 and docker build succeed
I have this Dockerfile
FROM alpine/git as clone
WORKDIR /keycloak
RUN git clone https://github.com/maturbet-volta/nexus3-keycloak-plugin.git
WORKDIR /cargo
RUN git clone https://github.com/sonatype-...
0
votes
2
answers
2k
views
Nextcloud Docker status keeps "Restarting (255)"
I'm running a Nextcloud instance in docker-compose on my Raspi 4 at home for some years now and update the images about every two months.
My pi stopped working during todays NC update from 25.0.3 to ...
0
votes
0
answers
280
views
IP already in use via Docker Compose file error
I'm new to docker-compose and trying to create the following.
My network at home is a 192.168.1.0/24 network. I have a raspberry pi with docker on it installed with IP 192.168.1.50
I want to create 2 ...
1
vote
0
answers
1k
views
Docker compose Error response from daemon, Ports are not available on Windows 11
I have following docker-compose.yml file:
services:
## NGINX
nginx:
container_name: zl-nginx
image: redis:alpine
restart: unless-stopped
networks:
- reza
ports:
- ...
1
vote
0
answers
839
views
How to add WireGuard container to internal Docker network to add internet connectivity?
I have two Docker networks:
public which is a normal bridge network with access to the host upstream network
private which is a bridge, internal: true and hosts a fleet of containers
networks:
...
0
votes
1
answer
305
views
Why COMPOSE_PROJECT_NAME is not visible from --env-file?
I deploy my stack with command docker-compose --env-file up --detach, but specified project name is not assigned. When I set up it as environment variable then it works COMPOSE_PROJECT_NAME=proj ...
3
votes
1
answer
10k
views
How to setup docker in read_only mode in docker-compose
Many guides shows, it is good to make the container in read_only mode.
However, how to do this in docker-compose?
Many containers save logs at least, so they need r+w permission.
How do you setup ...
1
vote
2
answers
7k
views
What is the correct way to restrict access to Docker containers to only allow sources on LAN
I've been trying to find a way to ensure containers selectively are only accessible from the LAN that the (Linux) docker host is part of. I've seen this question asked/answered on Reddit, Stack, and ...
0
votes
0
answers
1k
views
Cannot access Vaultwarden admin page and cannot get more users
I need some help because I do not know what I am doing wrong: The first issue is that I cannot get to access the admin page. When I access https://myvaultwardendomain.io/admin I get a 401 error ...
3
votes
1
answer
1k
views
Create docker container with link to hardware device that doesn't exist yet
My use case:
I use a containerized octoprint instance to drive a 3dprinter. The problem I'm running into is that if the printer(usb) isn't connected during the boot process of the container, then it ...
0
votes
0
answers
1k
views
Cannot map USB device with the docker container on Linux
I cannot map my usb device with the docker container.
$ ls -l /dev/ttyUSB0
crw-rw---- 1 root dialout 188, 0 nov 27 09:28 /dev/ttyUSB0
$ groups
adm dialout sudo audio kvm lpadmin docker
I mapped ...
0
votes
1
answer
892
views
Routing container to wireguard container for a certain subnet not working as expected
! See updated post at the end !
I am trying to run Wireguard in a container using docker compose on a remote host in a site-to-site configuration with my intranet at home which works flawlessly on its ...
0
votes
0
answers
280
views
VNC Client docker and port forwarding
I tried to access a docker image via port forwarding on a server with VNC Viewer.
I used port forwarding in a docker-compose.yml like this :
ports:
- "5011:5901"
- "5012:22/tcp&...