You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Make dockerman work with podmans docker compatibility mode / help me debug.
Currently, most things work, but the Overview and Containers pages crash.
This would be awesome because podman works with nftables if you "manually" configure the network, and podman provides the possibility to run containers as none root user aka unprivileged containers.
Don't worry about the configuration files, they get installed by the packages looking exactly like the example ones in the guide. Except for the ones that define a specific container.
Force remove the docker package with opkg remove docker --force-depends
Create a symbolic link from /var/run/docker.sock to /run/podman/podman.sock ln -s /var/run/docker.sock /run/podman/podman.sock
enable the podman service /etc/init.d/podman enable
If /var isn't persistent, add the symlink creation to your /etc/rc.local
/etc/rc.local
# Put your custom commands here that should be executed once
# the system init finished. By default this file does nothing.
## Podman
# create podman docker emulation socket
ln -s /run/podman/podman.sock /var/run/docker.sock
...
reboot and test dockerman.
PS: I'm willing to create a proper podman-docker compatibility package for OpenWrt, but would like to get dockerman working first.
Version information
openwrt version: 23.05.2
luci version: git-23.051.66410-a505bb1
docker daemon version: -
podman version: 4.8.0-1
root@OpenWrtR4S ~# podman version
Client: Podman Engine
Version: 4.8.0
API Version: 4.8.0
Go Version: go1.21.5
Built: Tue Dec 19 02:55:03 2023
OS/Arch: linux/arm64
dockerman version: v0.5.13-20230114
The text was updated successfully, but these errors were encountered:
Images page (no clue why it's broken now, it was working before)
Networks page
Volumes page
Event page
So as you can see it's kinda working but needs some attention.
My understanding is that it should be possible to get it to work, I will try, but this is my first adventure in to lua and in to luci, so I don't have the highest hopes.
Describe the bug
Feature request/help me debug
Make dockerman work with podmans docker compatibility mode / help me debug.
Currently, most things work, but the Overview and Containers pages crash.
This would be awesome because podman works with nftables if you "manually" configure the network, and podman provides the possibility to run containers as none root user aka unprivileged containers.
What did I do to test this
opkg remove docker --force-depends
/usr/bin/docker
according to this guide https://podman-desktop.io/docs/migrating-from-docker/emulating-docker-cli-with-podman.ln -s /var/run/docker.sock /run/podman/podman.sock
/etc/init.d/podman enable
/etc/rc.local
PS: I'm willing to create a proper podman-docker compatibility package for OpenWrt, but would like to get dockerman working first.
Version information
The text was updated successfully, but these errors were encountered: