Docker network issues when using profiles
I have the following docker network:
how to orchestrate subsets of docker compose services
I am using a bunch of docker containers to run a webserver + database + whatever else.
Undefined voulme with docker compose
I am a beginner in docker and docker-compose technology as I’m trying to run the command (docker compose build) it throws the error of ( /vagrant/vprofile-project/docker-compose.yml: version
is obsolete
service “vprodb” refers to undefined volume vprodata: invalid compose project )
Questions regarding converting / merging a ‘pre’ docker-compose bash script into one docker-compose file
I have inhereted a project that loads a preload.sh
script before running the docker-compose.yml
file.
Docker Postgres image expose to SQL client
I have Spring Boot 3 and Docker.
Docker container in host network is not reachable on ports
Problem I am running a docker container (snapcast server) and need to run it in host mode. Before I ran it in host mode I forwarded ports 1704, 1705 and 1780 (where the Web UI is reachable on port 1780) in my docker-compose.yml and everything worked when doing it like that. When I changed my […]
How to work with Docker Compose secrets securely
I hope you are well. I have some questions about how Docker secrets can make the use of credentials in containers more secure and how to work with them correctly, given that their content is exposed in /run/secrets and can be easily accessed with cat both inside and outside the containers. Additionally, to run as a user with minimal permissions inside the container, I need to keep the permissions of the secret files open on the host machine, because if I set them as root-only, the non-root user inside the container will not be able to read their content and the application will not be able to work with the information.
Dockerfile works in development but not prod
I am trying to deploy a app with docker, it works fine using docker desktop (windows) but not on the actual server (prod). I am lost and I don’t know what else to change.
Installing ‘docker compose’ plugin or standalone on ‘Mac apple silicon’ without ‘docker desktop’
I am trying to install ‘docker compose’ plugin on ‘Mac apple silicon’ machine. My org doesn’t allow ‘Docker Desktop’ so we use ‘colima’ instead. There is no official documentation to install the ‘compose’ plugin on mac without ‘docker desktop’.
Is it possible to optionally specify a build platform for a service in a Docker Compose file?
I would like to build Docker images defined in a Compose file for different platforms conditionally. For example, for building production images and pushing to container repository, use linux/amd64
, but for building development images, use the host’s native platform.