Skip to content

Commit 0a9b7ee

Browse files
author
Pengfei Ding
committed
Merge branch 'master' of github.com:dingp/artdaq-docker
2 parents 0795741 + 7313626 commit 0a9b7ee

File tree

1 file changed

+33
-0
lines changed

1 file changed

+33
-0
lines changed

README.md

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,34 @@
11
# artdaq-docker
2+
3+
This docker image has been tested with podman under RHEL8. If you are using Scientific Linux 7.6 or above, you can install podman with:
4+
5+
```sh
6+
sudo yum -y install yum-conf-extras
7+
sudo yum -y install podman
8+
```
9+
10+
Assuming you have a `/scratch` directory on your host OS and the user you logged in as have read/write access to it, you can start the container with (otherwise, change the volume mount to the full path to another directory you have read/write access to):
11+
12+
```sh
13+
podman run --privileged=true -ti -e DISPLAY --rm -v /scratch:/scratch --net=host dingpf/artdaq
14+
```
15+
16+
In the container, you can do the following to run `artdaq-demo` (using `artdaq-demo v3_06_01` as an example):
17+
18+
```sh
19+
cd /scratch
20+
wget https://cdcvs.fnal.gov/redmine/projects/artdaq-demo/repository/revisions/develop/raw/tools/quick-mrb-start.sh
21+
chmod +x quick-mrb-start.sh
22+
# Pull UPS products and compile artdaq packages
23+
./quick-mrb-start.sh --tag v3_06_01
24+
25+
# Setting up environment to run the demo
26+
source setupARTDAQDEMO
27+
setup artdaq_daqinterface v3_06_01
28+
export DAQINTERFACE_USER_SOURCEFILE=$PWD/DAQInterface/user_sourcefile_example
29+
source $ARTDAQ_DAQINTERFACE_DIR/source_me
30+
31+
# Now run the demo
32+
ipcrm -a;./run_demo.sh --config demo --comps component{01..02} --no_om --runduration 20
33+
34+
```

0 commit comments

Comments
 (0)