This is a singularity container of a headless Ubuntu 20.04 with Xfce desktop. You can access the instance via a VNC viewer or a web broswer.
sudo singularity build ubuntu-vnc-xfce.sif SingularityBut practically it’s better to add several more packages to the
container before use, even if you configure conda. Singularity.da is
an example which adds several packages to ubuntu-vnc-xfce.sif.
sudo singularity build ubuntu-vnc-xfce.da.sif Singularity.damkdir newhome
singularity instance start --bind $PWD/newhome:$HOME ubuntu-vnc-xfce.sif vncIn the first run it may ask a password for the VNC connection. Port
5901 is waiting for your connection via the standard VNC
viewers. Directory $PWD/newhome is the home directory of the
instance; you may change it as you want.
It accepts options for vncserver; ex. if you would like to from the
other, then add -localhost no.
singularity instance stop vnc- [2022-03-21 Mon] To run this container on aarch64 (ex. through UTM
on M1 Mac), temporarily an option
--env=LD_PRELOAD=/lib/aarch64-linux-gnu/libgcc_s.so.1forsingularity instance startis required.