Sign inSign up

europeanspallationsource/ioc-example

By europeanspallationsource

•Updated about 10 years ago

Docker container runs an example EPICS IOC with its PVs accessible from your host machine.

Image
0

2.8K

europeanspallationsource/ioc-example repository overview

⁠First use instructions

Use a development machine or any machine which CA commands (caget, caput...).

⁠Install and turn on Docker

sudo yum -y install docker sudo systemctl start docker

⁠Pull the container from the online repo

sudo docker pull europeanspallationsource/ioc-example

⁠Start the container/IOC

sudo docker run -t -i europeanspallationsource/ioc-example

⁠Set appripriate environmental variables on host

Open a new tab and set: export EPICS_CA_AUTO_ADDR_LIST=NO export EPICS_CA_ADDR_LIST=172.17.255.255 export EPICS_CAS_INTF_ADDR_LIST=localhost

This will make the client search for PVs in the internal network host shares with the docker container.

⁠Access PVs

caget docker:ai1

⁠Stop the container/IOC

exit

⁠Later use instructions

Since you already have the docker image locally, you only need to start it and stop it.

⁠PVs served by the IOC

docker:ai1 docker:ai2 docker:ai3 docker:aiExample docker:aiExample1 docker:aiExample2 docker:aiExample3 docker:aSubExample docker:calc1 docker:calc2 docker:calc3 docker:calcExample docker:calcExample1 docker:calcExample2 docker:calcExample3 docker:compressExample docker:subExample docker:xxxExample

Dockerfile⁠

Tag summary

Content type

Image

Digest

Size

194 MB

Last updated

about 10 years ago

docker pull europeanspallationsource/ioc-example