This repo creates a docker ubuntu image and installs cs-studio into it
Workspaces are stored in the workspaces dir
A single script "./cs-studio_docker.sh" creates the cs-studio instance and per-uut workspace.
-
First install docker: Supported platforms
Install through distro package manager do not use snap
-
Clone this repo:
git clone https://github.com/D-TACQ/ACQ400CSS_docker cd ACQ400CSS_docker
-
Run cs-studio
with hostname ./cs-studio_docker.sh acq2106_123 with hostname and static ip ./cs-studio_docker.sh acq2106_123 10.12.1.123 diy setup ./cs-studio_docker.sh
First time setup might take a while.
-
BONUS Install on path
#create link sudo ln -s $(pwd)/cs-studio_docker.sh /usr/local/bin/cs-studio #run from anywhere cs-studio acq2106_123
-
Install docker desktop: Docker Desktop
-
Install git: Git for windows
-
Install VcXsrv: VcXsrv
-
Open powershell or cmd
-
Clone this repo:
git clone https://github.com/sambelltacq/ACQ400CSS_docker cd ACQ400CSS_docker
-
Run cs-studio
with hostname ./cs-studio_docker.cmd acq2106_123 with hostname and static ip ./cs-studio_docker.cmd acq2106_123 10.12.1.123 diy setup ./cs-studio_docker.cmd
First time setup might take a while
-
BONUS Create Shortcuts
-
Right click cs-studio_docker.cmd and click create shortcut
-
Right Click created shortcut and click properties
-
Append UUT hostname and if needed IP to end of target path and click OK i.e.
C:\Users\sam\PROJECTS\ACQ400CSS_docker\cs-studio_docker.cmd acq2106_123
-
Rename shortcut to something descriptive i.e.
start_css_acq2106_123
-
Repeat for each UUT as needed
-
-
cs-studio may complain on first start .. see: starting-first-workspace-step-by-step.pdf
-
after updating to new release existing image must be purged
docker rmi -f $(docker images -aq)