Skip to content

Latest commit

 

History

History
28 lines (14 loc) · 842 Bytes

README.md

File metadata and controls

28 lines (14 loc) · 842 Bytes

Create a docker with debian 8, epics base 3.15.5 and medm 3.1.13

How to use (older distros)

To use medm it is necessary some configuration:

  • Before run container execute:

xhost localhost

  • Command to run :

docker container run -v "$HOME:/root/host/" --env="DISPLAY" -it --rm --volume="$HOME/.Xauthority:/root/.Xauthority:rw" --net=host lnlssol/docker-medm bash

  • Run medm:

./medm

  • Normally to run medm it is necessary to use .adl files, and macros. For this could be necessary copy .adl to docker and pass macros as argument, like this:

./medm -x -macro "P=mcaTest:,R=Amptek1:, M=mca1" Amptek.adl &

How to use (newer systems)

On newer systems there is no .Xauthority under $HOME. In this case try:

docker container run -v "$HOME:/root/host/" --env="DISPLAY" -it --net=host --privileged lnlssol/docker-medm bash