Timeline for Combining Two Containers
Current License: CC BY-SA 4.0
7 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Aug 26, 2020 at 12:13 | comment | added | Konrad Botor | @user19215 That being said it's not recommended as Docker containers are meant to be application containers, that is there should be a single service running in a single container. It sounds like what you want are OS containers like LXC: linuxcontainers.org | |
| Aug 26, 2020 at 12:11 | comment | added | Konrad Botor | @user19215 Here's official documentation on running multiple services in a single container: docs.docker.com/config/containers/multi-service_container | |
| Aug 21, 2020 at 2:24 | comment | added | joshk132 | @user19215 So if you want multiple services in one container not in different ones that are connected via a network then you will have to create your own Docker image. This is pretty simple to do if you just want basic non production ready images. | |
| Aug 20, 2020 at 14:42 | comment | added | mikequentel | @user19215 docker-compose is not required, but just a helpful way to run containers. You could instead do the same using docker commands, but docker-compose is much easier to configure (the docker-compose.yml is YAML syntax). | |
| Aug 20, 2020 at 7:18 | comment | added | user19215 | Thanks Mike this is really helpful. Actually you answered 2 things for me . So when i want a Debian container with mysql apache freeradius etc in it( with network config and so on) i do it with docker compose right? | |
| Aug 20, 2020 at 3:18 | history | edited | mikequentel | CC BY-SA 4.0 | Clairfied and expanded the answer to better respond to the question. |
| Aug 19, 2020 at 13:34 | history | answered | mikequentel | CC BY-SA 4.0 |