Skip to content

Commit 24156de

Browse files
committed
modified: pages/docs/user-docs/docs-docker.md
1 parent 5f98a2a commit 24156de

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

pages/docs/user-docs/docs-docker.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -253,6 +253,11 @@ The command [ldconfig](https://codeyarns.com/2014/01/14/how-to-add-library-direc
253253

254254
>> Update the library cache at the end of your Dockerfile with a call to ldconfig.
255255
256+
### 3. Don't install to $HOME or $TMP
257+
We can assume that the most common Singularity use case has the $USER home being automatically mounted to `$HOME`, and `$TMP` also mounted. Thus, given the potential for some kind of conflict or missing files, for best practice #3 we suggest the following:
258+
259+
>> Don't put container valuables in `$TMP` or `$HOME`
260+
256261

257262
Have any more best practices? Please <a href="https://www.github.com/singularityware/singularityware.github.io/issues" target="_blank">let us know</a>!
258263

0 commit comments

Comments
 (0)