Results 1 to 5 of 5

Thread: Lightworks docker image

  1. #1
    Join Date
    Nov 2017
    Location
    Somewhere around the middle of Europe.
    Posts
    119

    Default Lightworks docker image

    Hello, my story begins in with this thread: https://forums.opensuse.org/showthre...ibcrypto-so-10

    We basically concluded that Lightworks will NOT work on Tumbleweed.

    I had the idea to create a docker image to run it.
    Here are my files:
    Dockerfile:
    Code:
    FROM ubuntu:latest
    RUN apt-get update -y && apt-get upgrade -y
    RUN apt-get install wget -y
    RUN wget "https://www.lwks.com/index.php?option=com_docman&task=doc_download&gid=194" -O lightworks.deb
    RUN dpkg -i lightworks.deb || true  
    RUN apt-get install -f -y
    RUN groupadd -r lightworks && useradd -r -g lightworks -G audio,video lightworks && mkdir -p /home/lightworks && chown -R lightworks:lightworks /home/lightworks
    USER lightworks
    ENTRYPOINT ["lightworks"]
    
    And the execution:
    Code:
    docker run -it --net host -v /tmp/.X11-unix:/tmp/.X11-unix -e DISPLAY=unix$DISPLAY --device /dev/snd --device /dev/dri -v /dev/shm:/dev/shm --name lightworks lightworks
    
    It doesn't work, it just exits after a second or so. What did I do wrong?

  2. #2
    Join Date
    Jun 2008
    Location
    San Diego, Ca, USA
    Posts
    13,295
    Blog Entries
    2

    Default Re: Lightworks docker image

    You might want to take some time and browse some of the many plugins and images that have been written to support X11 instead of trying to pass the most basic commands as you've done...

    What's available is fast changing all the time, so I don't know that recommending anything specific today will still be recommended tomorrow, but here are a couple to take a look at...

    https://github.com/mviereck/x11docker
    Plumlee is a gaming company that maintains and updates their own dockerized nvidia image (for those using an nvidia GPU)
    https://hub.docker.com/r/plumbee/nvidia-virtualgl/

    TSU
    Beginner Wiki Quickstart - https://en.opensuse.org/User:Tsu2/Quickstart_Wiki
    Solved a problem recently? Create a wiki page for future personal reference!
    Learn something new?
    Attended a computing event?
    Post and Share!

  3. #3
    Join Date
    Nov 2017
    Location
    Somewhere around the middle of Europe.
    Posts
    119

    Default Re: Lightworks docker image

    Don't reinvent the wheel they say. Thx

  4. #4
    Join Date
    Nov 2017
    Location
    Somewhere around the middle of Europe.
    Posts
    119

    Default Re: Lightworks docker image

    UPDATE: there's apparently a bug in the openSUSE docker package - the docker init binary is missing. Trying to resolve it with the owner of x11docker here: https://github.com/mviereck/x11docker/issues/23
    If you have any questions, ask there, I don't really know what it means.
    There is also some useful information on how to run lightworks properly in x11docker.

  5. #5
    Join Date
    Jun 2008
    Location
    San Diego, Ca, USA
    Posts
    13,295
    Blog Entries
    2

    Default Re: Lightworks docker image

    I may find some time over the weekend to take a look at this.

    Boy,
    Your github issue contains some long code snippets...
    Have the both of you considered posting the code separately in a gist or a pastebin? - That would allow a person to quickly skim through your discussion without being forced to also scroll through every line of code (That makes for easier continuity following your discussion).

    Need info to replicate your setup...

    Besides TW, what is your Desktop (am guessing KDE/Plasma from what I read) although it also looks like you installed PCManFM (which is largely built on gnome). BTW - When I encounter this kind of situation, I usually turn to virtualization like VBox immediately, and re-build with a Gnome based Desktop (eg LXDE in your case) instead of installing all those additional packages into your KDE system.

    Anything else that's relevant besides your Desktop.
    I assume you've installed Docker form the OSS.

    TSU
    Beginner Wiki Quickstart - https://en.opensuse.org/User:Tsu2/Quickstart_Wiki
    Solved a problem recently? Create a wiki page for future personal reference!
    Learn something new?
    Attended a computing event?
    Post and Share!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •