Skip to content

Commit d56b633

Browse files
authored
[ci skip] Update README singularity example. (#98)
Add --cleanenv option to suppress a warning in the example. Because Singularity imports all environment variables on host by default unlike Docker and Podman.
1 parent 37d3273 commit d56b633

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

README.md

+2-4
Original file line numberDiff line numberDiff line change
@@ -60,14 +60,12 @@ $ podman run --rm -t arm64v8/fedora uname -m
6060
aarch64
6161
```
6262

63-
Singularity [5] also works. But I do not understand the warnings.
63+
Singularity [5] also works.
6464

6565
```
6666
$ sudo singularity run docker://multiarch/qemu-user-static --reset -p yes
6767
68-
$ singularity run docker://arm64v8/fedora uname -m
69-
/bin/sh: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)
70-
/bin/sh: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)
68+
$ singularity run --cleanenv docker://arm64v8/fedora uname -m
7169
aarch64
7270
```
7371

0 commit comments

Comments
 (0)