dockerfiles icon indicating copy to clipboard operation
dockerfiles copied to clipboard

OCI runtime create failed

Open yudataguy opened this issue 4 years ago • 2 comments

I'm testing ffserver container, with exact setup in the readme, did not change a single parameter, this is the error code. I have other docker container running successfully with docker-compose, and I run it in sudo, so permission is not an issue. I'm running the latest container which was pushed 5 hours ago.

Removing ffserver_ffserver_1
Recreating d217898fc4fe_ffserver_ffserver_1 ... error

ERROR: for d217898fc4fe_ffserver_ffserver_1  Cannot start service ffserver: OCI runtime create failed: container_linux.go:349: starting container process caused "exec: \"ffserver\": executable file not found in $PATH": unknown

ERROR: for ffserver  Cannot start service ffserver: OCI runtime create failed: container_linux.go:349: starting container process caused "exec: \"ffserver\": executable file not found in $PATH": unknown

yudataguy avatar Aug 26 '20 02:08 yudataguy

Can anyone help? i face the same issue too

meizushooter avatar Oct 18 '20 13:10 meizushooter

I faced the issue too and found out, that ffserver was removed from the official ffmpeg package: https://trac.ffmpeg.org/wiki/ffserver Therefore you need to install an older package of ffmpeg to get it to work like the official statement says https://ffmpeg.org/download.html#release_3.4. Create your own dockerfile with base image alpine:3.8 like in https://stackoverflow.com/a/62641221 Or you can use my docker build I created today :) https://hub.docker.com/r/bachmma1/docker-ffserver

bachmma1 avatar Apr 15 '21 07:04 bachmma1