How to run / develop for Feast with `podman` on RHEL & Fedora
- Dominant language
- Python
- Stars
- 7.3k
- Forks
- 1.4k
- Avg merge
- 1d 21h
- Merged PRs (30d)
- 15
Description
## Overview
This guide summarizes how both end users and Feast developers can get [podman](https://podman.io/) set up, instead of docker, to use or develop for Feast. The instructions below were successfully tested on Fedora and RHEL machines.
## Installation Guide
1. **Install and configure podman**
```bash
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
```
2. **Enable the podman socket**
for non-root users
```bash
systemctl --user enable --now podman.socket
systemctl --user status podman.socket
```
for root users
```bash
systemctl enable --now podman.socket
systemctl status podman.socket
```
3. **Set environment variables**
```bash
# 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
```
Contributor guide
Assessment
This issue has not been assessed yet.