kool-dev / kool

From local development to the cloud: web apps development with containers made easy.

Home Page:https://kool.dev

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Move from `docker-compose` to `docker compose`

dbpolito opened this issue · comments

It should be feature complete by now.

@kool-dev/core-members ideas we have:

  • parse docker version to check if docker compose is available and stable
  • implement or look for an in-memory cache solution so we can store the compose command for a day...maybe
  • warning message about docker-compose deprecation

The PR is ready for review and this will be in the next release.

The implementation that requires Compose V2 has been released today with version 1.19.0.

One problem emerged - it seems that Linux installations from the CLI lack the Compose V2 plugin, so you might need to install it manually.

https://docs.docker.com/compose/install/#scenario-two-install-the-compose-plugin

Docs on how to install the plugin: https://docs.docker.com/compose/install/linux/#install-using-the-repository