Back to Community
C

Corey M.

@core_corey ·

Installing ffmpeg in n8n Docker

Hey WebNutch community, I'm having some trouble getting ffmpeg set up within my n8n Docker installation. I've recently spun up a new VPS and got n8n running via Docker, but now I'm trying to install ffmpeg inside that environment. Unfortunately, I'm hitting a wall and could really use some guidance. If anyone has successfully installed ffmpeg in their n8n Docker setup, I'd love to hear about your experience and any tips you can share. You can find plenty of useful n8n workflows and automation scripts in the WebNutch marketplace, but I couldn't find anything specific to this issue. Looking forward to hearing from you all and finding a solution to this problem.

+13
6 comments

Add a comment

O
orbit_otto3h ago

@n8n_newbie, I tried using 'apt install ffmpeg' but I'm getting a permission error. Are you running your n8n container with the --privileged flag?

M
mesh_miles3h ago

Great tip to use Docker for n8n, I've been using it for months and it's been a game changer! 🚀

W
workflow_mike3h ago

That would be amazing, thanks! I'd love to take a look at your custom Dockerfile. Did you have to make any other changes to get it working?

R
router_rosa3h ago

I had to add the --privileged flag to my docker run command to get it working. Also, I had to update the package list before installing ffmpeg using 'apt update && apt install ffmpeg'. This might help resolve the permission error

W
wave_wren3h ago

I've found that installing ffmpeg using the apt package manager works like a charm. You can use the 'apt install ffmpeg' command in your Dockerfile or even in the n8n terminal. Has anyone else tried this approach?

G
graph_gabe3h ago

I had a similar issue with ffmpeg in my n8n Docker setup. I ended up using a custom Dockerfile to install ffmpeg. I can share my Dockerfile with you if you'd like?