https://github.com/pklaus/docker-catools
caget, caput, camonitor, pvget pvput pvmonitor, etc. in a compact Docker container
https://github.com/pklaus/docker-catools
epics
Last synced: 8 months ago
JSON representation
caget, caput, camonitor, pvget pvput pvmonitor, etc. in a compact Docker container
- Host: GitHub
- URL: https://github.com/pklaus/docker-catools
- Owner: pklaus
- Created: 2020-06-30T17:21:55.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-07-01T17:26:17.000Z (over 5 years ago)
- Last Synced: 2024-12-28T15:49:08.258Z (9 months ago)
- Topics: epics
- Language: Dockerfile
- Homepage: https://hub.docker.com/r/pklaus/catools
- Size: 6.84 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# docker-catools
A compact distribution of common EPICS Channel Access and PV Access tools via Docker images.
Available on the Docker Hub at: [/r/pklaus/catools](https://hub.docker.com/r/pklaus/catools).
## Available Tools
The following executables from EPICS are part of this Docker image:
```
acctst caEventRate caput iocLogServer pvinfo
aitGen caRepeater casw makeBpt pvlist
antelope ca_test catime msi pvmonitor
ascheck caget e_flex p2p pvput
caConnTest cainfo excas pvcall softIoc
caDirServ camonitor genApps pvget softIocPVA
```## Tag Flavours
There are two flavours of the images available:
* `slim` **no** underlying Linux system, just executables and libraries,
* `debian` based on Debian (slighly larger).Each tag is built for multiple architectures (`linux-{amd64,386,arm64,arm/v7}`).
The default tag `:latest` is pointing to the latest `debian` image.
## Examples
**caget** of a process variable from an IOC in the (Docker internal) network `docker-epics`.
```
docker run \
--rm \
--network docker-epics \
pklaus/catools \
caget FAIR:CBM:MVD:YOUR:PV
```**camonitor** works too, but for being able to quit the process using Ctrl-c
it needs to be run with a PID higher than 1. This can be reached by wrapping the
call in a shell command or by specifying the host namespace for the PID in the
docker run statement:```
docker run \
--rm \
--pid host \
--network docker-epics \
pklaus/catools \
camonitor FAIR:CBM:MVD:YOUR:PV
```*If such a command was accidentally started without specifying a different PID it won't quit
with Ctrl-c, the terminal can be disattached from the container using
Ctrl-p Ctrl-q and the container can then be killed with
`docker kill` using the hash revealed by `docker ps`.*When using a more elaborate tool such as the `softIoc`, I recommend to use the
`debian` flavour of the images.