Skip to content

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

Open
@tchughesiv

Description

@tchughesiv

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions