-
-
Notifications
You must be signed in to change notification settings - Fork 14.6k
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 doesn't work well #65202
Comments
You can add the required etc configuration files to your
I use nix for generating my configuration in
|
I added But i still have the problem sudo podman info
[sudo] Mot de passe de pinage404 :
could not get runtime: could not find a working binary (configured options: [/usr/bin/runc /usr/sbin/runc /usr/local/bin/runc /usr/local/sbin/runc /sbin/runc /bin/runc /usr/lib/cri-o-runc/sbin/runc]): invalid argument It seems normal that podman can't find thoses paths under NixOS But i don't know how you can run it without any other configuration I found this in
But i don't know how to get the nix store path of |
|
You can amend your
In addition, you will probably need to install: |
it seems to not work
|
I'm having the same problems with podman. Why doesn't this work out of the box? |
We would need a configuration wrapper for podman, which is currently under development in #54925 |
Is it possible to use podman inside a nix-shell, without requiring it to be installed globally? |
I know most of you (if not all) are referring to I just installed it and I'm getting something similar: [x80486@uplink ~]$ uname -a
Linux uplink 4.19.73-1-lts #1 SMP Mon Sep 16 17:15:25 CEST 2019 x86_64 GNU/Linux
[x80486@uplink ~]$ podman version
Version: 1.5.1
RemoteAPI Version: 1
Go Version: go1.12.9
OS/Arch: linux/amd64
[x80486@uplink ~]$ podman info
Error: could not get runtime: could not find a working conmon binary (configured options: [/usr/libexec/podman/conmon /usr/local/lib/podman/conmon /usr/bin/conmon /usr/sbin/conmon /usr/local/bin/conmon /usr/local/sbin/conmon /run/current-system/sw/bin/conmon]): invalid argument
WARN[0000] unable to find /home/x80486/.config/containers/registries.conf. some podman (image shortnames) commands may be limited
[x80486@uplink ~]$ podman ps -a
Error: could not get runtime: could not find a working conmon binary (configured options: [/usr/libexec/podman/conmon /usr/local/lib/podman/conmon /usr/bin/conmon /usr/sbin/conmon /usr/local/bin/conmon /usr/local/sbin/conmon /run/current-system/sw/bin/conmon]): invalid argument
WARN[0000] unable to find /home/x80486/.config/containers/registries.conf. some podman (image shortnames) commands may be limited |
Yes it is, |
I made a The only thing you have to setup globally is the subuid/subgid ranges for your user. |
For some reason configuration files in https://github.com/danieldk/nix-home/blob/master/overlays/20-podman.nix So far, so good... |
Issue description
I'm trying podman, it doesn't work (or i need to configure something and i don't know what / how)
Steps to reproduce
Technical details
Please run
nix-shell -p nix-info --run "nix-info -m"
and paste theresults.
"x86_64-linux"
Linux 4.19.58, NixOS, 19.03.173094.5f707e8e06f (Koi)
yes
yes
nix-env (Nix) 2.2.2
"home-manager-19.03, nixos-19.03.173160.e199c174c69, nixos-unstable-19.09pre185259.362be9608c3"
"nixos-19.03.173094.5f707e8e06f"
/nix/var/nix/profiles/per-user/root/channels/nixos
The text was updated successfully, but these errors were encountered: