Add README.md
This commit is contained in:
26
README.md
Normal file
26
README.md
Normal file
@@ -0,0 +1,26 @@
|
||||
# Dymola Docker
|
||||
|
||||
## Disclaimer
|
||||
This is just an unofficial experiment by me.
|
||||
It seems to work, but no guarantee!
|
||||
This is based on the files provided by the RWTH Aachen for teaching.
|
||||
|
||||
## Building
|
||||
You need a running docker engine and X11.
|
||||
First you need to download the files (program files (rpm) and license file).
|
||||
Copy the folder `AM_CAT_Dymola.AllLinux` and `Dymola.LIC` in the same folder as the `Dockerfile`.
|
||||
```bash
|
||||
sudo docker build -t dymola .
|
||||
```
|
||||
This may take a while.
|
||||
|
||||
## Running
|
||||
There are a number of ways, but I use:
|
||||
```bash
|
||||
sudo docker run -it --rm -e DISPLAY=$DISPLAY -v /tmp/.X11-unix:/tmp/.X11-unix -v /path/to/my/dymola/workspace:/home/user/Dymola dymola
|
||||
```
|
||||
You can then run Dymola in the opened `xterm` (terminal):
|
||||
```bash
|
||||
dymola-2018-x86_64
|
||||
```
|
||||
This requires you to always set the path to the license file and the workspace on each start.
|
||||
Reference in New Issue
Block a user