Ptolemy in Mac using docker: Difference between revisions

From HELIOS Digital DAQ
Jump to navigation Jump to search
(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...")
 
(No difference)

Latest revision as of 21:11, March 31, 2022

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>