Skip to content
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

Capability to select container driver #944

Open
1 of 2 tasks
corinz opened this issue Nov 7, 2022 · 0 comments
Open
1 of 2 tasks

Capability to select container driver #944

corinz opened this issue Nov 7, 2022 · 0 comments

Comments

@corinz
Copy link

corinz commented Nov 7, 2022

I am using Podman, and unable to issue faas-cli commands to build using the podman driver. Does faas-cli have the capability to select an alternative driver?

Expected Behaviour

faas-cli would work with podman by selecting the driver

Current Behaviour

faas-cli is hardcoded to work with docker

Why do you need this?

Some background to show the strategic selection here... There are several reasons Podman may be selected over Docker

  • totally open source/license friendly
  • flexibility when it comes to defining VMs
  • near 1:1 interface with docker cli
  • supported by popular distros like minikube, kind

Who is this for?

Asking this as a personal inquiry, feature request for the community. I am not on the adopters list.

Are you a GitHub Sponsor (Yes/No?)

I am not a github sponsor

Check at: https://github.com/sponsors/openfaas

  • Yes
  • No

List All Possible Solutions and Workarounds

A command line flag to select the alternaive driver and/or the ability to point to the socket

Which Solution Do You Recommend?

A command line flag to specify the driver

Steps to Reproduce (for bugs)

n/a

Context

Some moving away from Docker as they find other tools more appropriate for the use case. Tools that are hard-coded to use Docker will find that they lose OSS consumer base.

AFAIK I was unable to find this feature in the docs...

Your Environment

  • FaaS-CLI version ( Full output from: faas-cli version ):
    0.14.11
  • Docker version ( Full output from: docker version ):
    v20
  • Are you using Docker Swarm (FaaS-swarm ) or Kubernetes (FaaS-netes)?
    faas-netes, yes
  • Operating System and version (e.g. Linux, Windows, MacOS):
    macOS
  • Link to your project or a code example to reproduce issue:
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

1 participant