feast
feast copied to clipboard
How to run / develop for Feast with `podman` on RHEL & Fedora
Overview
This guide summarizes how both end users and Feast developers can get podman set up, instead of docker, to use or develop for Feast. The instructions below were successfully tested on Fedora and RHEL machines.
Installation Guide
- Install and configure podman
sudo dnf install podman-docker
# ensure "docker.io" is first in the `unqualified-search-registries` config array
## e.g. unqualified-search-registries = ["docker.io", "registry.fedoraproject.org", "quay.io"]
# also, ensure `short-name-mode` is set to "permissive" or "disabled"
## e.g. short-name-mode="permissive"
sudo vi /etc/containers/registries.conf
- Enable the podman socket
for non-root users
systemctl --user enable --now podman.socket
systemctl --user status podman.socket
for root users
systemctl enable --now podman.socket
systemctl status podman.socket
- Set environment variables
# should return something like `unix:///run/user/{user's uid}/podman/podman.sock` or `unix:///run/podman/podman.sock`
export DOCKER_HOST=unix://$(podman info --format '{{.Host.RemoteSocket.Path}}') && echo ${DOCKER_HOST}
export TESTCONTAINERS_RYUK_DISABLED=true