-
-
Notifications
You must be signed in to change notification settings - Fork 54
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
podman fedora 31 wsl 2 #67
Comments
OK we will check. Thank you for reporting |
Hello, Run this script This will fix the os-release problem. Although as I saw podman is something that works with containers and systemd. This unlikely will work with WSL1. I did some tests with WSL 2 and looks better but still have problems with dbus. Later this week I can investigate it further to see if we can make it run on WSL. Regards, |
Hi there -- I'm also experiencing this issue. Can you let me know if there's anything I can do to help troubleshoot, @crramirez ? |
We haven't been able to run it WSL2 still. We'll keep you informed |
This should be helpful: https://www.redhat.com/sysadmin/podman-windows-wsl2 (just follow the libpod.conf part) For toolbox, XDG_RUNTIME_DIR is not set and the directory doesn't exist: export XDG_RUNTIME_DIR=/run/user/1000
mkdir /run/user/1000
chown <user>:<user> /run/user/1000 I modified toolbox (it's a bash script for now) to not execute gdbus. That got me as far as |
I was able to get https://fedoramagazine.org/wsl-fedora-33/ |
Excellent thanks a lot. We will test this approach and make a how-to guide |
Recent versions of Podman, on F33 can run with the following commands: containers/podman#3288 (comment) $ sudo -i
$ cp /usr/share/containers/containers.conf /etc/containers/containers.conf && \
sed -i '/^# cgroup_manager = "systemd"/ a cgroup_manager = "cgroupfs"' /etc/containers/containers.conf && \
sed -i '/^# events_logger = "journald"/ a events_logger = "file"' /etc/containers/containers.conf
$ dnf reinstall -y shadow-utils Now podman should work without issues |
Neat, I'm glad you commented here. I was having some difficulties due to what appears to be a truncated socket path:
I believe this is the fix, but it's only present in podman 3, which seems to only be in the testing repo currently. But if anybody else sees the same thing, hopefully an upgrade fixes the issue like it did for me:
|
@jpeeler I am at the moment not using Podman 3.0; as I am focused on our build on the EL8 platform. So at the moment not much in a hurry to enable this on Fedora. But will certainly enable/update this when the need is there. |
I think this can be closed. Besides F31 is EOL since 2020-11-24 anyway. /cc: @ghost |
Actually, we should keep this open until it's properly documented. |
In that case please modify the title, as this is not indicative of the intent |
I see dbus is installed but I don't have |
I think this can be closed. I can run podman, toolbox, distrobox on fedoraremix37
|
Excellent. Thank you for testing and telling us |
Is your feature request related to a problem? Please describe.
Podman not working in fedora 31, wsl2, arm64
Describe the solution you'd like
I want to run toolbox in fedora 31.
Describe alternatives you've considered
Use my old Workstation -- works, but I can't carry it around like my surface pro x (arm64), it is loud an it eats needlessly much energy.
Additional context
After fresh Install of fedoraremix I did:
$ sudo dnf install toolbox buildah
Runs without errors. But it seems to edit /usr/lib/os-release, and forgets to quote The Name-String, hence the bash-warning "command not found", but that's not the problem, the problem is afterwards:
Does it matter that it's a cgroups v1 host?
Trying as root:
I wonder why it even looks for 30, and then simply tried podman directly with something which exists for arm64:
Seems like podman needs systemd? I don't know for sure if it is doable at all, but it would be very cool to get this running.
The text was updated successfully, but these errors were encountered: