Closed MarieSaphira closed 3 years ago
Since Docker Compose version 1.27.0 it's possible to use the swarm syntax (docker-compose file version 3.x) with Docker Compose. For older versions it's possible to run
docker-compose --compatibility up
Docker Compose "translates" the v3 syntax into v2 syntax if possible.
Is your feature request related to a problem? Please describe. Limiting container resources is only possible when using DockerSwarm or Kubernetes at the moment.
Describe the solution you'd like It should be possible to limit resources when "only" using Docker Compose e.g. with
Describe alternatives you've considered Adding resource restriction in the generated docker-compose.yaml
Additional context