Skip to content

My local fedora VM - with VirtualBox

Install VirtualBox guest tools

1
2
dnf -y update kernel*
dnf -y install gcc kernel-devel kernel-headers dkms make bzip2 perl libxcrypt-compat

Attach VirtualBoxGuestAdditions ISO

1
2
mkdir /media/VirtualBoxGuestAdditions
mount -r /dev/cdrom /media/VirtualBoxGuestAdditions

Build

1
2
3
4
export KERN_DIR=/usr/src/kernels/$(uname -r )
cd /media/VirtualBoxGuestAdditions
./VBoxLinuxAdditions.run
reboot

Setup Podman remote

Source https://www.redhat.com/sysadmin/podman-clients-macos-windows

On Fedora as root

Sadly I had some problems to run with podman.socket: Durring a long running build I got Error: unexpected EOF :-(

1
2
3
4
dnf -y install podman
systemctl --now podman.socket

podman --remote info

On MacOs

Install podman remote
1
2
3
4
5
cd ~/bin/

export PODMAN_VERSION=$(ssh -q fedora podman version -f json | jq -r '.Client.Version')
curl -L -O https://github.com/containers/podman/releases/download/v${PODMAN_VERSION}/podman-remote-release-darwin.zip
unzip podman-remote-release-darwin.zip podman
Setup connection
1
podman system connection add --identity ~/.ssh/id_ed25519 --port 1984 fedora root@127.0.0.1

Last update: December 29, 2020
Back to top