Questions tagged [docker-compose]
The docker-compose tag has no usage guidance.
90
questions
0
votes
1
answer
9
views
.mysql_history: how to persist it with the official MariaDB Docker image?
How does it work the MariaDB .mysql_history file from the official MariaDB Docker image?
It's not really something I want in production. But it might be handy in a developer setup. Also, although it ...
0
votes
1
answer
41
views
Failed to set the root user to MongoDB
I have created a MongoDB docker container with the following compose.yaml
---
services:
mongodb:
image: "docker.io/library/mongo:7.0.11"
container_name: mongodb
restart: unless-...
0
votes
1
answer
16
views
Docker Compose network isolation mechanism in Linux
When I deploy Docker Compose services, I found that the Docker containers are all on one bridged linux segment; this much is expected. However, sometimes I have had problems connecting from one linux ...
0
votes
1
answer
56
views
Linux Docker compose container cannot ping another bridged Docker container
Overview
I need a Docker Compose zabbix host to ping a host on a containerlab docker network.
These two Docker networks run under a linux Docker host machine as below... This information comes from ...
0
votes
1
answer
230
views
Is it possible to change the default user of docker minio/minio:latest from root to any other username/group?
I am using minio/minio:latest image in my docker-compose.yaml file, and I want the minio docker container to have a user other than root.
after checking the /usr/bin/docker-entrypoint.sh shipped with ...
0
votes
0
answers
38
views
Nextcloud android app does not work with the community nextcloud docker image, and caddy as a reverse proxy
I want to setup nextcloud in my home server with the following (in order of importance):
Nextcloud is fast on a web browser and phone
Nextcloud is encrypted with trusted SSL certificates, but without ...
0
votes
1
answer
251
views
"Operation not permitted" when accessing a NFS mounted directory inside a docker container
I am working on a Web-App which needs access to a QNAP-NAS file system to edit and create directories and files inside it.
In order to mount the NFS to the docker container, I used the following ...
0
votes
0
answers
56
views
Rebooting breaks dns-server docker container
This is my ~/docker-webdev-stack/docker-compose.yml
services:
dns-server:
container_name: dns-server
hostname: dns-server
image: technitium/dns-server:latest
# For DHCP deployments, ...
0
votes
1
answer
53
views
docker-compose output format has changed to long, how to get back short output?
Output of docker compose ps command in docker compose version v2.20.x and earlier was short, since "COMMAND" column was truncated:
$ sudo apt-get install 'docker-compose-plugin=2.20.*'
[...]
...
0
votes
0
answers
70
views
Firewalling Docker Compose
I'm trying to operate Docker Compose containers behind a firewall on Debian 12. I cannot get access to the host machine (set up to be host.docker.local in the containers) to work within the containers ...
0
votes
1
answer
102
views
How do I configure Docker containers for Traefik Proxy correctly?
I was trying to test out Traefik Proxy, so I added Traefik labels to an existing Compose file I had for OpenSpeedTest.
version: '3.3'
services:
speedtest:
restart: unless-stopped
...
0
votes
2
answers
6k
views
docker-compose detach keyboard shortcut?
I'm running Docker Desktop 4.2.0 on Windows 10 Pro.
Until recently, to detach from containers after running docker-compose up, I could use the keyboard shortcut CTRL + z. This stopped working. How to ...
0
votes
0
answers
55
views
can't docker-compose up all at once on ec2 t2.micro
I have 3 services in my compose.yaml, 2 web apps and nginx proxy manager,
on ec2 if I call sudo docker-compose up it will eventually freeze and the instance will become unresponsive ( I have to reboot ...
0
votes
0
answers
67
views
docker compose down service with label
I'm trying to figure out how to programmatically compose down several services with a label.
Currently I'm just using docker container stop as such: docker container stop -t 60 $(docker ps -q -f "...
0
votes
0
answers
40
views
Does docker (-compose) support pure L1 or L2 networking?
As a hobby project I'm trying to build a "mini internet" from the ground up, including hosts, routers, dhcp, dns, tls, the works, but I'm having trouble finding a platform that is as "...