Ptolemy in Mac using docker

From HELIOS Digital DAQ
Revision as of 21:11, March 31, 2022 by Ttang (talk | contribs) (Created page with "== Installation instructions == === Install Docker Desktop for Mac. === https://download.docker.com/mac/stable/Docker.dmg Start the app. If it is running, the docker i...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Installation instructions

Install Docker Desktop for Mac.

   https://download.docker.com/mac/stable/Docker.dmg

Start the app. If it is running, the docker icon (a whale stacked with container boxes) should be present on the top menu bar on the right hand side.

Open a terminal window and type the following at the command prompt :

   $ docker pull tehatanlgov/ptolemy:latest

This downloads the ptolemy container from docker hub. You need do this only once. List downloaded containers with :

   $ docker images

Make a bash script

#!/bin/bash
docker run --rm -i -w $PWD tehatanlgov/ptolemy

In digios repository, there is already digios/analysis/Cleopatra/ptolemy_mac, which is executable.

Run Ptolemy

Cleopatra$ptolemy_mac <infile> <outfile>