Skip to content

dudefellah/epics-server

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

EPICS softioc docker container

Create a Dockerfile in your preferred folder

FROM dudefellah/epics-server

Then run:

$ docker build -t dudefellah/epics-server .

$ docker run --name epics_server --rm -p 5064:5064 -p 5064:5064/udp -p 5065:5065 -p 5065:5065/udp -dit epics-server

OR

Attaching a local volume:

$ docker run --name epics_server --rm -p 5064:5064 -p 5064:5064/udp -p 5065:5065 -p 5065:5065/udp -dit -v <path-to-your-db>/db:/usr/local/epics/softioc/db epics-server

You can avoid the detached mode just changing the -dit to -it to ensure that your local db has been properly parsed.

After that you can use dudefellah/epics container to check if it is working properly.

Just run the epics container and update the EPICS_CA_ADDR_LIST, then caget or camonitor what you want.

Notes

This is a small fork from https://github.com/iarredondo/epics-server if you haven't noticed already. The original Dockerfile tries to copy a local ./db path while building the image, I've just removed that step so the DB files that remain are the default db files that exist with the original installation. I didn't see much use with copying local DB files during image creation when you can mount them by attaching a local volume as the original author described above.

Releases

No releases published

Packages

No packages published

Languages

  • Dockerfile 91.1%
  • Shell 8.9%