Skip to content

Application vs Compose #791

Answered by Siumauricio
kerimovok asked this question in Q&A
Nov 30, 2024 · 1 comments · 2 replies
Discussion options

You must be logged in to vote

Hi,

The comparison is simple,

Docker compose: you can have multiple services/containers inside it, here we use tipically docker-compose.yml
Application: you can only have 1 container and it is isolated in docker swarm, here we use tipically Dockerfile

Why application has more features? because initially all the features were designed for applications, in docker compose it is possible, however I don't have time to implement them but it is possible, almost everything that can be done in applications can be done in docker compose, but in docker compose you need to do it manually.

In my case I like applications better because as they are based on docker swarm I can have zero downtime, rollbac…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@kerimovok
Comment options

@kerimovok
Comment options

Answer selected by kerimovok
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants