forked from RWTH-E3D/IFC2SB
-
Notifications
You must be signed in to change notification settings - Fork 0
Apptainer Usage
Janset Esen edited this page Nov 27, 2024
·
3 revisions
-
pull from docker and run the apptainer image:
cd $HOME/IFC2SB/add
apptainer pull docker://jansetesen1/ifc2sb:latest3
apptainer shell ifc2sb_latest3.sif
-
runnig the code inside the container:
cd /opt/ifc2sb/code/build
./IFC2SB -j8 --graph $HOME/IFCfiles/ExampleHOM.ifc
cd $HOME/IFC2SB/add
: Changes the directory to where you want to save the Apptainer SIF file.apptainer pull docker://jansetesen1/ifc2sb:latest3
: Pulls the Docker image from DockerHub and converts it into an Apptainer SIF file.apptainer shell ifc2sb_latest3.sif
: Opens an interactive shell session within the newly created Apptainer container.- Unlike Docker, Apptainer (formerly Singularity) automatically binds certain directories from the host system into the container by default, including your home directory. This means you typically don't need to manually mount or bind directories when running an Apptainer container, as your home directory ($HOME) is already accessible inside the container.