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 wrapper #2

Open
almereyda opened this issue Dec 12, 2022 · 0 comments
Open

Podman wrapper #2

almereyda opened this issue Dec 12, 2022 · 0 comments

Comments

@almereyda
Copy link

almereyda commented Dec 12, 2022

Thank you for this marvelous build! It helps a lot in getting started with libafk_aac on the ffmpeg platform.

As a side note, the command that the wrapper script executes can also be used with Podman. Then, it does not need the --user flag, since Podman brings its own subuid/-gid mapping:

podman run --rm -it -v /etc/localtime:/etc/localtime:ro -v ${PWD}:/data --entrypoint /usr/bin/ffmpeg --workdir /data docker.io/outlyernet/ffmpeg-nonfree

This command works on the local directory mounted to /data within the container. If SELinux is present, you may want to add :Z or :z here. Command line arguments can be passed to that command directly.

This also works as an alias:

alias ffmpeg='podman run --rm -it -v /etc/localtime:/etc/localtime:ro -v ${PWD}:/data --entrypoint /usr/bin/ffmpeg --workdir /data docker.io/outlyernet/ffmpeg-nonfree'
type ffmpeg
ffmpeg -version
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant