Thanks for the detailed explanation. I have a question regarding the license:
I am accessing a floating license that is hosted in a different computer. In the previous instruction for the docker, how do I put my license in a license.lic file?
Unable to find image ‘centos_gui_1:latest’ locally
docker: Error response from daemon: pull access denied for centos_gui_1, repository does not exist or may require ‘docker login’: denied: requested access to the resource is denied.
See ‘docker run --help’.
Sorry, switch cubit_gui and centos_gui_1. The --name argument is the name of the container, the last argument is the name of the image you built with docker build and should match the -t argument there.
To fix that, instead of passing in the -p options when you run the docker container, run it with --network=host. Your container will then use the host network instead of port forwarding, and should be able to reach your license server.
When I tried the command above with --network=host, then now the http://localhost:6080/#/ does not work anymore. I get a failed connection error, see below.
sudo ufw status verbose
Status: active
Logging: on (low)
Default: deny (incoming), allow (outgoing), deny (routed)
New profiles: skip
To Action From
-- ------ ----
22/tcp ALLOW IN Anywhere
22 ALLOW IN Anywhere
5900 ALLOW IN Anywhere
6800 ALLOW IN Anywhere
6080 ALLOW IN Anywhere
22/tcp (v6) ALLOW IN Anywhere (v6)
22 (v6) ALLOW IN Anywhere (v6)
5900 (v6) ALLOW IN Anywhere (v6)
6800 (v6) ALLOW IN Anywhere (v6)
6080 (v6) ALLOW IN Anywhere (v6)
If that’s not working, then you’ll have to run the docker container with the -p options again and talk to your network administrator about connecting your docker container to your local network or VPN that your license server is on.