sameersbn / docker-wowza

Dockerfile to containerize Wowza Streaming Engine
MIT License
64 stars 42 forks source link

Nvidia GPU support in container #15

Closed rainabba closed 8 years ago

rainabba commented 8 years ago

Over the last fews days I've gone through some major learning experiences with EC2, Docker, ECS, Wowza and Nvidia GPU acceleration (on G2 instances).

After days of effort, I finally gave up on Docker to do a completely vanilla install of Wowza on a g2 instance and was able to get things working, which got me thinking. What I've found was that I'd made a bad assumption and in order for Wowza to get GPU support in a container, not only the host-os needs attention, but there are considerations for docker as well.

There is a very nice answer at the following which looks to provide the needed details and I'm going to make an effort to get this working for myself, but I also need 4.4.0. I've figured out how to update based on the image you're maintaining, but there's a minor caveaot and that is due to the fact that I cannot stop the service with your image. It appears to restart itself instantly which forced me to edit their update script and hope that the upgrade works (which I think it does).

If there's a way I can help you keep your image up to date when I'm already work on it, I'd be happy to.

Including the changes outlined HERE to enable GPU support in your image would be greatly appreciated though.

I'm somewhat new to Docker though and I'm not sure how contributions there work compared to with just a github repo, but if it's in my ability, I'd be happy to do so.

rainabba commented 8 years ago

learned what was needed, did it, tested it and submitted a PR :)