Hi, everybody!
Tell me, please.
Docker-compose creates a separate container or it connects containers with each other that were created earlier from images?
Thank you in advance.
Share and learn in the Docker community.
Hi, everybody!
Tell me, please.
Docker-compose creates a separate container or it connects containers with each other that were created earlier from images?
Thank you in advance.
Well, you could easily try it to find out, so I wonder if you have a problem or a goal which made you uncertain.
Compose is a tool for defining and running multi-container Docker applications.
It means your first statement was right. However, since Docker Compose sets labels on the containers that it created, you could probably create the containers without Docker Compose with the same labels containing the compose project name, and use Docker Compose to manage those containers later. I just donāt see the actual use case for it.
If you are looking for a tool which can provide you an interface to manage any container, you would probably like to check Portainer` which I personally donāt like.
Thank you very much!