Update guide for podman (#828)

* Update guide for podman

In newer versions of func there is no need
for starting service and setting DOCKER_HOST envvar.

Signed-off-by: Matej Vasek <mvasek@redhat.com>

* fix per review request

Co-authored-by: Lance Ball <lball@redhat.com>

Co-authored-by: Lance Ball <lball@redhat.com>
This commit is contained in:
Matej Vasek 2022-02-11 21:23:18 +01:00 committed by GitHub
parent b8370c139e
commit 7ee4e0fafa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 0 deletions

View File

@ -2,6 +2,11 @@
Under Linux, it is possible to use [podman](https://podman.io/) instead of [docker](https://www.docker.com/). With Functions, you'll need `podman` version `v3.3` or better for this to work properly.
For `func` version `v0.20.0` and later no further setup is needed,
`func` should use `podman` automatically.
For older versions some setup is required:
In order to do this you need to run `podman` as a service. You can do this with the following command.
```
systemctl start --user podman.socket