-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
panic on podman run --rootfs
#2654
Comments
I find it useful. I was playing with containerd and they have exactly the same feature |
PR here: #2656 |
check that containerInfo.Config is not nil before trying to access it. Closes: containers#2654 Signed-off-by: Giuseppe Scrivano <[email protected]>
Cool. #2656 fixes the nil pointer. |
Yes I think it could be a cool blog on this. @giuseppe Would you like to write one? |
yes it is already on my TODO list, now just need to prioritize it :-) |
Cheers guys! Is this flag still supported?
We are having some internal discussion and knowing the plan for this specific features would help us. |
@siscia, it's podman run --rootfs. |
Awww many thanks! Actually how do I use it?
Where
|
I assume that runc/crun are complaining because they do not know what do execute, so we need to specify a command: |
Wonderful! We could kinda improve the error message! Anyway this is very interesting for us! |
Glad that it's working for you! |
please do not remove --rootfs, It is because of it I changed from docker and nspawn² to podman. here is a quick guide if needed for new comers: debootstrap --arch=amd64 --include=dbus,apt-transport-https,wget,curl,locales,tzdata,man-db,manpages,dialog,procps,sudo,nano,ifupdown,iproute2,apt-utils,less --components=main,contrib,non-free buster /busterr http://deb.debian.org/debian change/create the root password: podman run --rm -it --rootfs /busterr bash -c "echo 'root:bbbbbbnn' | chpasswd" run a full OS with systemd (like a vm): podman run --rm -it --systemd=always --rootfs /busterr /sbin/init ² nspawn was slow compared to podman , podman is as quick as docker (using privileged containers). I could not make nspawn do some funcions in python as quick as podman/docker |
Is this a BUG REPORT or FEATURE REQUEST? (leave only one on its own line)
/kind bug
Description
migrating old services from nspawn machines to podman containers.
Trying to use the
--rootfs
flag.Steps to reproduce the issue:
podman run -it --rm --rootfs /var/lib/machines/mymachine
Describe the results you received:
Describe the results you expected:
Really unsure
Additional information you deem important (e.g. issue happens only occasionally):
Output of
podman version
:Output of
podman info --debug
:Additional environment details (AWS, VirtualBox, physical, etc.):
physical host
The text was updated successfully, but these errors were encountered: