kool icon indicating copy to clipboard operation
kool copied to clipboard

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

Open dbpolito opened this issue 2 years ago • 2 comments

It should be feature complete by now.

dbpolito avatar Jul 15 '22 14:07 dbpolito

@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

danielsuguimoto avatar Jul 15 '22 20:07 danielsuguimoto

links:

  • https://github.com/docker/compose-switch
  • https://pkg.go.dev/github.com/docker/libcompose
  • https://github.com/compose-spec/compose-go
  • https://pkg.go.dev/github.com/docker/docker/client

danielsuguimoto avatar Jul 15 '22 21:07 danielsuguimoto

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

fabriciojs avatar Dec 05 '22 00:12 fabriciojs

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

fabriciojs avatar Dec 23 '22 00:12 fabriciojs