You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Inside of the container, metadata is stored in the `/.singularity.d` directory. Here is an example of the contents:
104
+
105
+
```
106
+
/.singularity.d/
107
+
├── actions
108
+
│ ├── exec
109
+
│ ├── run
110
+
│ ├── shell
111
+
│ ├── start
112
+
│ └── test
113
+
├── env
114
+
│ ├── 01-base.sh
115
+
│ ├── 90-environment.sh
116
+
│ ├── 95-apps.sh
117
+
│ └── 99-base.sh
118
+
├── labels.json
119
+
├── libs
120
+
├── runscript
121
+
├── Singularity
122
+
└── startscript
123
+
```
124
+
125
+
-**actions**: This directory contains helper scripts to allow the container to carry out the action commands.
126
+
-**env**: All *.sh files in this directory are sourced in alpha-numeric order when the container is initiated. For legacy purposes there is a symbolic link called `/environment` that points to `/.singularity.d/env/90-environment.sh`.
127
+
-**labels.json**: The json file that stores a containers labels described above.
128
+
-**libs**: At runtime the user may request some host-system libraries to be mapped into the container (with the `--nv` option for example). If so, this is their destination.
129
+
-**runscript**: The commands in this file will be executed when the container is invoked with the `run` command or called as an executable. For legacy purposes there is a symbolic link called `/singularity` that points to this file
130
+
-**Singularity**: This is the Recipe file that was used to generate the container. If more than 1 Recipe file was used to generate the conainer additional Singularity files will appear in numeric order in a sub-directory called `bootstrap_history`
131
+
-**startscript**: The commands in this file will be executed when the container is invoked with the `instance.start` command.
0 commit comments