Differences
This shows you the differences between two versions of the page.
computing:singularity [2024/05/08 14:24] ramesh |
computing:singularity [2024/05/08 14:54] (current) ramesh |
||
---|---|---|---|
Line 63: | Line 63: | ||
====== Docker on Mac ====== | ====== Docker on Mac ====== | ||
- | The recent Macs with the Apple M1/M2/M3 chips might have issues when the installed docker version is not updated. | + | The recent Macs with the Apple M1/M2/M3 chips might have issues when the installed docker version is not updated. Check for new release here: https://docs.docker.com/desktop/release-notes/. On 08 May 2024, version 4.30.0 worked fine on Sonoma 14.4.1. |
Remove the old docker by navigating to Applications folder, and drag-n-drop docker app to the recycle bin.If there are issues in removing the docker app, stop any docker processes using the activity monitor tool (found in the Utilities folder which is listed in Applications). | Remove the old docker by navigating to Applications folder, and drag-n-drop docker app to the recycle bin.If there are issues in removing the docker app, stop any docker processes using the activity monitor tool (found in the Utilities folder which is listed in Applications). | ||
Line 70: | Line 70: | ||
docker run -ti --rm --platform linux/amd64 -v /Users/rameshkaruppusamy/DOCK:/data --name="dspsr" --hostname="dspsr" bhcpsr/dspsr:202111.1 bash | docker run -ti --rm --platform linux/amd64 -v /Users/rameshkaruppusamy/DOCK:/data --name="dspsr" --hostname="dspsr" bhcpsr/dspsr:202111.1 bash | ||
+ | root@dspsr:~# export DISPLAY=134.104.30.131:0 | ||
+ | root@dspsr:~# pav -DFTp /data/2020-03-20-20\:18\:35.0024.p.calibP | ||
- | To get X11-forwarding to work properly, install xQuartz | + | To get X11-forwarding to work properly, install xQuartz. Make sure that you enable "Allow connections from network clients" found under Security tab in xQuartz's settings. Make sure that you allow other clients to connect to xQuartz X11 server with ''xhost +'' on a terminal before invoking your container. The DISPLAY variable is set to the current IP of the Mac. Check this with ''ifconfig | grep inet'' on a terminal and choose the right IP address. |
- | + | ||
- | and run the following in a terminal (after starting xQuartz): | + | |