Sign inSign up

pklaus/epics_base

By pklaus

Updated about 6 years ago

Multi-arch Docker Images for EPICS Base. See tags for available versions and architectures.

Image
2

5.3K

pklaus/epics_base repository overview

These images were built with the Dockerfile (and scripts) found on Github: pkaus/docker-epics.


Why not also try out one of my other EPICS related Docker projects?


The epics_base image contains a the EPICS base installation. It also comes with a ready-to-use example IOC, which can be handy for quick testing.

To start an example IOC in background (-d), run:

docker run \
  --rm -it -d \
  -p 5064-5065:5064-5065 \
  -p 5064-5065:5064-5065/udp \
  -w /epics/iocs/example/iocBoot/iocEXAMPLE \
  pklaus/epics_base:7.0.4_debian \
  ./st.cmd

The PVs served in the example IOC are: scs:subExample scs:aiExample scs:aiExample1 scs:ai1 scs:aiExample2 scs:ai2 scs:aiExample3 scs:ai3 scs:compressExample scs:calcExample scs:calcExample1 scs:calc1 scs:calcExample2 scs:calc2 scs:calcExample3 scs:calc3 scs:aSubExample scs:xxxExample (where scs is the default user account in the container).

To attach to the IOC later on, you may run

docker attach $(docker ps -q)

To attach to the IOC shell, run:

docker attach my-ioc

Enter Ctrl + p Ctrl + q to detach from the shell or Ctrl + d to quit the IOC.

If the port forwarding setup fails for some reason, try to replace the -p ... parameters with --net=host and check if that helps.

A quick demonstration of a (slightly outdated version of the IOC) in the container can be seen here:
asciicast

Tag summary

Content type

Image

Digest

Size

132.1 MB

Last updated

about 6 years ago

docker pull pklaus/epics_base:7.0.4_debian