Skip to content

Latest commit

 

History

History
133 lines (95 loc) · 2.68 KB

install.md

File metadata and controls

133 lines (95 loc) · 2.68 KB

Installation Guide

Building From Source

podman-tui is using go version >= 1.20.

$ git clone <repository>
$ make binary # Linux
$ make binary-win # Windows
$ make binary-darwin # MacOS

Installing on Linux

Alpine Linux

$ sudo apk add podman-tui

AlmaLinux, Rocky Linux

Enable EPEL repository and then run:

$ sudo dnf -y install podman-tui

Arch Linux (AUR)

$ yay -S podman-tui

CentOS Stream

Enable EPEL repository and then run:

$ sudo dnf -y install podman-tui

Fedora

$ sudo dnf -y install podman-tui

Gentoo

$ sudo emerge app-containers/podman-tui

RHEL

Enable EPEL repository and then run:

$ sudo dnf -y install podman-tui

Installing on Mac

podman-tui can be obtained through Homebrew package manager.

$ brew install podman-tui

Container image

Pull from quay.io

$ podman run -it --name podman-tui-app \
  -e CONTAINER_PASSPHRASE="<ssh key passphrase>" \
  -v <ssh_keys_dir>:/ssh_keys/:Z \
  --net=host \
  quay.io/navidys/podman-tui:latest # latest release, use develop tag to pull the upstream build

Build image

podman-tui is using go version >= 1.17.

$ git clone <repository>
$ make binary
$ podman build -t podman-tui -f Containerfile
$ podman run -it --name podman-tui-app \
  -e CONTAINER_PASSPHRASE="<ssh key passphrase>" \
  -v <ssh_keys_dir>:/ssh_keys/:Z \
  --net=host \
  podman-tui

Configuration Files

podman-tui.conf

~/.config/podman-tui/podman-tui.conf

podman-tui.conf is the configuration file which specifies local and remotes podman systems connections details.

[services]

  [services.fc36node01]
    uri = "ssh://navid@fc36node01:22/run/user/1000/podman/podman.sock"
    identity = "/home/navid/.ssh/id_ed25519"
  [services.fc36node02]
    uri = "ssh://navid@fc36node02:22/run/user/1000/podman/podman.sock"
    identity = "/home/navid/.ssh/id_ed25519"
    default = true
  [services.localhost]
    uri = "unix://run/user/1000/podman/podman.sock"