...
Code Block |
---|
language | bash |
---|
title | Docker run as ioc |
---|
|
docker run -p 5064:5064/udp -p 5064:5064/tcp -p 5065:5065/udp -p 5065:5065/tcp -it -v .:/epics/ioc/config baltig.infn.it:4567/epics-containers/infn-epics-ioc:localdevel |
A generic asyn motor OPI interface can be used to drive the motor. Motor OPIs Remember to add localhost to your phoebus
...
Step 3 build docker image and test
building:
Code Block |
---|
|
docker build --build-arg TARGET_ARCHITECTURE="linux" --build-arg TARGETARCH="amd64" -t baltig.infn.it:4567/epics-containers/infn-epics-ioc:local . |
test:
the following lines will mount the <myibek yaml instance> in the container /epics/ioc/config and will expose CA ports.
Code Block |
---|
|
cd <myibek yaml instance>
docker run -p 5064:5064/udp -p 5064:5064/tcp -p 5065:5065/udp -p 5065:5065/tcp -it -v /dev/ttyr00:/dev/ttyr00 -v .:/epics/ioc/config baltig.infn.it:4567/epics-containers/infn-epics-ioc:local |
For test refer to existing ibek support