I'm trying to use the docker container by amrit3701 on a host machine for which I don't have root permissions.
Therefor I'm trying to run the container with my UID and GID so I can use the CAD files outside the container.
Running the container with
Code: Select all
docker run -it amrit3701/freecad-cli
But when I specify my UID and GID with
Code: Select all
docker run -it -u 1051:100 amrit3701/freecad-cli
Code: Select all
I have no name!@c0dfdbd22ac4:/$ python3.8
Python 3.8.5 (default, Jul 20 2020, 19:48:14)
[GCC 7.5.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
Initialization of FreeCAD failed:
While initializing FreeCAD the following exception occurred: 'Getting HOME path from system failed!'
Please contact the application's support team for more information.
Traceback (most recent call last):
File "/.startup.py", line 1, in <module>
import FreeCAD
ImportError: Failed to load FreeCAD module!
>>> import FreeCAD
Initialization of FreeCAD failed:
While initializing FreeCAD the following exception occurred: 'Getting HOME path from system failed!'
Please contact the application's support team for more information.
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: Failed to load FreeCAD module!
How could I resolve this issue?