Skip to content

Instantly share code, notes, and snippets.

@astrofrog
Created February 13, 2020 13:02
Show Gist options
  • Save astrofrog/4f4efa02e7ec5c3435e61446fb5e45b8 to your computer and use it in GitHub Desktop.
Save astrofrog/4f4efa02e7ec5c3435e61446fb5e45b8 to your computer and use it in GitHub Desktop.
#!/bin/bash -x
setfacl -m user:1000:r ${HOME}/.Xauthority
exec docker run \
-it \
--rm \
--name casa \
--net=host \
-e DISPLAY \
-v ${HOME}/.Xauthority:/home/user/.Xauthority \
-v ${HOME}/Code/glue:/glue \
-v ${HOME}/Code/glue-astronomy:/glue-astronomy \
-v ${HOME}/Code/spectral-cube:/spectral-cube \
-v ${HOME}/Data:/data \
astrofrog/casa-glue:1.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment