Is the Nx Cloud up? Visit our Status Page for the current health and performance of the Nx Cloud.

Status Page

Running in docker container

Answered

Comments

13 comments

  • Official comment
    Tony Luce

    Hey Marcel - 

    As we like to say - anything's possible. Do you have a customer or project that has this requirement now? 

  • Permanently deleted user

    Hey Tony

    Is there any update about this issue ?

    0
  • Permanently deleted user

    I forgot to respond to this myself.

    We add our devices to vehicles and on our devices we must be running multiple applications. There are different requirements per application though. There are high and low prio applications and using docker we can restrict resource usage.

    I already created a docker file that is working but it could be probably be build much more effective. It also is hardly tested so that's why my question was on the docker image. In our case it provides us means to manage resources

    0
  • Tony Luce

    Marcel - 

    Feel free to write into support for any issues you face as we may be able to offer insight. We're a bit resource constrained at the moment and are unable to focus on a docker-specific solution, but anything you learn during the process would be great for you to share.

    0
  • Permanently deleted user

    Hi,

    Yes, it's possible to run it in Docker, even in ARM devices.

     

    0
  • Norman
    • Network Optix team

    Hi I Su,

    Please share some more information. Sure you can run Nx Witness in Docker, but the issue is that the HwID changes and that makes the licenses unavailable. 

    If you have a workaround, please share it with us, so anyone can benefit from it. 

    0
  • Permanently deleted user

    Hi Norman,

    I saw this link before but I've never used it.

    I use Nx in docker env. (self-made container) on ARM devices and I dont have problems with license, even in the case of image migration to another host.

    I control my HWID).

    If you describe your issue in details I try to help.

     

    0
  • Norman
    • Network Optix team

    Hi, I Su, 

    I have never used Docker, but from the people that have tried it, we get the feedback that the HWID changes continuously. 
    If you can explain how you control your HWID, it would help quite a few people that want to use Ubuntu with Docker and Nx Witness.  

     

    0
  • Permanently deleted user

    In 99% it's caused with changing of MAC address.

    While docker runs container, by default, the MAC address is generated using the IP address allocated to the container and ...

    So, if to bind static MAC address to container in many cases it helps to avoid lic. issue.

    1
  • Norman
    • Network Optix team

    Thank you I Su. 

    0
  • Permanently deleted user

    Would be nice if the licenses could be attached to the nxCloud account and applied that way.

    I'd like to be able to run NX on a docker instance directly on my Synology NAS instead of having to run an additional NUC.

    0
  • Permanently deleted user

    There are other changes you need to make specialized to the docker container like rewriting PID management otherwise updates/crashes does not restart the server.

    0
  • Norman
    • Network Optix team

    Gentlemen,

    We have released an experimental package to run Nx in a Docker environment. More about this can be read HERE

    0

Please sign in to leave a comment.