Clarification of Docker based deployment of NoMachine

Forum / NoMachine for Linux / Clarification of Docker based deployment of NoMachine

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #28568
    arcasops
    Participant

    Hello,

    I am looking to deploy NoMachine dockerized in a server that does not have Server GUI, in the spirit of avoiding these “cons” https://help.ubuntu.com/community/ServerGUI but then I’d like to run GUI apps, also Dockerized on this server and access them remotely.

    The first part of this tutorial https://www.nomachine.com/DT10O00161 sets up NoMachine in a Docker container.

    The second part shows how to  “Run a Dockerized Application in a NoMachine Custom Session”.

    There are a few things that am failing to figure out on my own.

    1. Can this Docker based deployment allow use of NoMachine even on a server without GUI things installed? (no X Server, etc)

    Trying to compare this deployment approach to x11docker: see https://github.com/mviereck/x11docker and https://dev.to/brickpop/my-dream-come-true-launching-gui-docker-sessions-with-dx11-in-seconds-1a53

    2. Not sure what the second part of the tutorial has to do with the first part about Dockerized NoMachine. It mentions “A NoMachine server, e.g. NoMachine Workstation, is installed on the same host, but not in the Docker container.”

    3. In context of both previous questions, am wondering, would it work to use docker-compose to make such GUI apps become accessible remotely through the Dockerized NoMachine ?

    This is actually how I was hoping the second part of the tutorial linked about would go.

    What am I missing?

    Thanks in advance for covering my blind spots.

    Thanks

     

    #28639
    fisherman
    Moderator

    1. Yes, Docker host does not need X server installed.
    2. NoMachine workstation needs to be installed on docker host, and then start prepared docker applications based on the article https://www.nomachine.com/DT10O00161#3. Please, select Custom Session and then choose “Run the following application” with “browser-box google-chrome”. (please check attached image)
    3. We prepared some basic samples how our application can be used with docker containers, and did not focused on docker compose.

Viewing 2 posts - 1 through 2 (of 2 total)

This topic was marked as solved, you can't post.