Ptolemy in Mac using docker

From HELIOS Digital DAQ
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>