Skip to content
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] path to fuse-overlayfs #2662

Closed
tobwen opened this issue Mar 14, 2019 · 10 comments
Closed

[podman] path to fuse-overlayfs #2662

tobwen opened this issue Mar 14, 2019 · 10 comments
Assignees
Labels
kind/feature Categorizes issue or PR as related to a new feature. locked - please file new issue/PR Assist humans wanting to comment on an old issue or PR with locked comments. rootless

Comments

@tobwen
Copy link
Contributor

tobwen commented Mar 14, 2019

Is this a BUG REPORT or FEATURE REQUEST? (leave only one on its own line)

/kind feature

Description
Right now, it's not possible to point to the binary of fuse-overlayfs; neither via CLI, nor via config. It only works in PATH-variable.

@openshift-ci-robot openshift-ci-robot added the kind/feature Categorizes issue or PR as related to a new feature. label Mar 14, 2019
@giuseppe
Copy link
Member

you can specify its value in ~/.config/containers/storage.conf:

  [storage.options]
    mount_program = "/usr/bin/fuse-overlayfs"

and you can also override from the command line using --storage-opt

@tobwen
Copy link
Contributor Author

tobwen commented Mar 15, 2019

and you can also override from the command line using --storage-opt

Tried so, didn't work. Something with key/value. Can't remember, will pull the new PR and repost.

@tobwen
Copy link
Contributor Author

tobwen commented Mar 15, 2019

$ /home/podman/podman/usr/local/bin/podman --log-level=debug --conmon /home/podman/podman/usr/local/libexec/crio/conmon --network-cmd-path /home/podman/podman/usr/local/bin/slirp4netns --runtime /home/podman/podman/usr/local/sbin/runc --storage-driver overlay --storage-opt /home/podman/podman/usr/local/bin/fuse-overlayfs run busybox sh
INFO[0000] running as rootless
DEBU[0000] Initializing boltdb state at /home/podman/.local/share/containers/storage/libpod/bolt_state.db
DEBU[0000] Using graph driver overlay
DEBU[0000] Using graph root /home/podman/.local/share/containers/storage
DEBU[0000] Using run root /home/podman/rundir
DEBU[0000] Using static dir /home/podman/.local/share/containers/storage/libpod
DEBU[0000] Using tmp dir /home/podman/rundir/libpod/tmp
DEBU[0000] Using volume path /home/podman/.local/share/containers/storage/volumes
DEBU[0000] Set libpod namespace to ""
DEBU[0000] Not configuring container store
DEBU[0000] Using slirp4netns netmode
INFO[0000] running as rootless
DEBU[0000] Initializing boltdb state at /home/podman/.local/share/containers/storage/libpod/bolt_state.db
DEBU[0000] Using graph driver overlay
DEBU[0000] Using graph root /home/podman/.local/share/containers/storage
DEBU[0000] Using run root /home/podman/rundir
DEBU[0000] Using static dir /home/podman/.local/share/containers/storage/libpod
DEBU[0000] Using tmp dir /home/podman/rundir/libpod/tmp
DEBU[0000] Using volume path /home/podman/.local/share/containers/storage/volumes
DEBU[0000] Set libpod namespace to ""
DEBU[0000] [graphdriver] trying provided driver "overlay"
ERRO[0000] error creating libpod runtime: Unable to parse key/value option: /home/podman/podman/usr/local/bin/fuse-overlayfs

@giuseppe
Copy link
Member

Tried so, didn't work. Something with key/value. Can't remember, will pull the new PR and repost.

what command have you tried?

@tobwen
Copy link
Contributor Author

tobwen commented Mar 15, 2019

See first line :-)

@giuseppe
Copy link
Member

could you try something like:

podman --storage-opt='overlay.mount_program=/path/to/fuse-overlayfs' ...

@tobwen
Copy link
Contributor Author

tobwen commented Mar 15, 2019

This one works. Thanks!

/home/podman/podman/usr/local/bin/podman --log-level=debug --conmon /home/podman/podman/usr/local/libexec/crio/conmon --network-cmd-path /home/podman/podman/usr/local/bin/slirp4netns --runtime /home/podman/podman/usr/local/sbin/runc --storage-driver overlay --stoge-opt "overlay.mount_program=/home/podman/podman/usr/local/bin/fuse-overlayfs" run busybox sh

Maybe you could add it as an example in man?

@TomSweeneyRedHat
Copy link
Member

Working on the man page addition.

@TomSweeneyRedHat
Copy link
Member

I"m assuming this part '--stoge-opt' s/b '--storage-opt'

@tobwen
Copy link
Contributor Author

tobwen commented Mar 16, 2019

@TomSweeneyRedHat

I"m assuming this part '--stoge-opt' s/b '--storage-opt'

Yeah. Sorry for that, but it seems as this needs #2659

@github-actions github-actions bot added the locked - please file new issue/PR Assist humans wanting to comment on an old issue or PR with locked comments. label Sep 24, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 24, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
kind/feature Categorizes issue or PR as related to a new feature. locked - please file new issue/PR Assist humans wanting to comment on an old issue or PR with locked comments. rootless
Projects
None yet
Development

No branches or pull requests

4 participants