Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
elitebanker623 opened this issue Feb 21, 2024 · 2 comments

Comments

@elitebanker623
Copy link

elitebanker623 commented Feb 21, 2024

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
@rbond-vetsource
Copy link

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

@EdanBrooke
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants