git clone [email protected]:emmo-repo/EMMOntoPy.git
cd EMMOntoPy
docker build -t emmo .
docker run -it emmo
-
Your Docker container may run out of memory while executing the HermiT reasoner (
sync_reasoner
). Append--memory=2GB
todocker run
in order to align the memory limit with the Java runtime environment.It is recommended to instead use the FaCT++ reaonser (now default).
-
Uncomment the last line in the Dockerfile, if you wish to start directly in the Python interpreter.
docker build -t emmomount -f mount.Dockerfile .
In a unix terminal (Linux)
docker run --rm -it -v $(pwd):/home/user/EMMOntoPy emmomount
In PowerShell (Windows 10):
docker run --rm -it -v ${PWD}:/home/user/EMMOntoPy emmomount
To install EMMOntoPy package inside container:
cd EMMOntoPy
pip install .
-
Allow for mounting of C: in Docker (as administrator). Docker (rightclick in system tray) -> Settings -> Shared Drives -> tick of C -> Apply.
-
Run the following command in PowerShell:
Set-NetConnectionProfile -interfacealias "vEthernet (DockerNAT)" -NetworkCategory Private
-
If mounting does not succeed Reset Credentials (Docker -> Settings -> Shared Drives) and repeat the steps above.