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

How to run / develop for Feast with podman on RHEL & Fedora #4190

Open
tchughesiv opened this issue May 9, 2024 · 0 comments
Open

How to run / develop for Feast with podman on RHEL & Fedora #4190

tchughesiv opened this issue May 9, 2024 · 0 comments

Comments

@tchughesiv
Copy link
Contributor

tchughesiv commented May 9, 2024

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

  1. 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
  1. 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
  1. 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants