Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

175
Views
Dockerode : run omxplayer command

I'm struggling to run a container using dockerode. I have the following command which runs perfectly when entered at the command line

docker run -it --rm --device /dev/vchiq:/dev/vchiq -v /media/storage:/storage video -o hdmi -p storage/tr01/TR01.mp4

but when I run for inside dockerode it exits immediately without errors. I have tried a few variations as follows

First attempt...

docker.run(
    'video',
    ['-it --rm --device /dev/vchiq:/dev/vchiq -v /media/storage:/storage video -o hdmi -p storage/tr01/TR01.mp4'],
    process.stdout, 
    {}, 
    function (err, data, container) {}
);

... and second attempt ...

docker.run(
    'video',
    ['-it --rm --device /dev/vchiq:/dev/vchiq video -o hdmi -p storage/tr01/TR01.mp4'],
    process.stdout, 
    {
          "Binds" : ["/media/storage:/storage"],
          "Privileged" : true                
    }, 
    function (err, data, container) {}
);

Can anybody please advise?

Many thanks

about 4 years ago · Santiago Trujillo
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!