GoogleContainerTools / skaffold

Easy and Repeatable Kubernetes Development
https://skaffold.dev/
Apache License 2.0
14.93k stars 1.62k forks source link

Get "docker compose not yet supported by skaffold" when trying to deploy a docker container with useCompose: true #9321

Open elitebanker623 opened 7 months ago

elitebanker623 commented 7 months ago

Expected behavior

When deploying an image built by Skaffold to docker using docker compose by running skaffold deploy --images image1:test, skaffold should go through the process without any issues

Actual behavior

Get an error "docker compose not yet supported by skaffold"

Information

apiVersion: skaffold/v4beta9
kind: Config
metadata:
  name: custom-config
build:
  artifacts:
    - image: "image1"
      context: .
      buildpacks:
        builder: gcr.io/buildpacks/builder
deploy:
  docker:
    images:
      - "image1"
    useCompose: true

Steps to reproduce the behavior

  1. skaffold build
  2. skaffold deploy --images image1:test
rbond-vetsource commented 5 months ago

Would love to know if there is intention on the docker compose feature getting built out.
I am excited to see more work be done on the docker or useCompose functionality. Thanks so much! :smile: :bowing_man:

EdanBrooke commented 4 months ago

We're at the start of our containerisation journey. I used Skaffold with a Kubernetes/Helm project some years ago at another organisation and remember it being easy to get up and running.

I'd like support for docker-compose as that's the workflow we have - I don't want to write lots of internal tooling to make it easier for the dev team. Skaffold felt like the right solution but seems it doesn't support our use case as yet.