GoogleContainerTools / skaffold

Easy and Repeatable Kubernetes Development

Home Page:https://skaffold.dev/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

elitebanker623 opened this issue · comments

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

  • Skaffold version: 2.10.0
  • Operating system: Ubuntu 22.04
  • Installed via: skaffold.dev
  • Contents of skaffold.yaml:
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

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! 😄 🙇‍♂️

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.