Skip to content
Snippets Groups Projects
Commit b8a81767 authored by Martin Schroschk's avatar Martin Schroschk
Browse files

Merge branch 'issue274' into 'preview'

Add missing prompts #274

See merge request !508
parents 81a6b2d4 ec6fd10e
No related branches found
No related tags found
2 merge requests!542Automated merge from preview to main,!508Add missing prompts #274
......@@ -175,20 +175,20 @@ recommended. The steps are:
```console
# Start a docker registry
$ docker run -d -p 5000:5000 --restart=always --name registry registry:2
marie@local$ docker run -d -p 5000:5000 --restart=always --name registry registry:2
# Push local docker container to it
$ docker tag alpine localhost:5000/alpine
$ docker push localhost:5000/alpine
marie@local$ docker tag alpine localhost:5000/alpine
marie@local$ docker push localhost:5000/alpine
# Create def file for singularity like this...
$ cat example.def
marie@local$ cat example.def
Bootstrap: docker
Registry: <a href="http://localhost:5000" rel="nofollow" target="_blank">http://localhost:5000</a>
From: alpine
# Build singularity container
$ singularity build --nohttps alpine.sif example.def
marie@local$ singularity build --nohttps alpine.sif example.def
```
#### Start from a Dockerfile
......@@ -325,20 +325,20 @@ singularity build my-container.sif example.def
Then you can run your application via
```console
singularity run my-container.sif first_arg 2nd_arg
marie@login$ singularity run my-container.sif first_arg 2nd_arg
```
Alternatively you can execute the container directly which is equivalent:
```console
./my-container.sif first_arg 2nd_arg
marie@login$ ./my-container.sif first_arg 2nd_arg
```
With this you can even masquerade an application with a singularity container as if it was an actual
program by naming the container just like the binary:
```console
mv my-container.sif myCoolAp
marie@login$ mv my-container.sif myCoolAp
```
### Use-Cases
......
......@@ -49,7 +49,7 @@ still work under SCS5. That's why those modenv versions are hidden.
Example:
```Bash
$ ml modenv/classic ansys/19.0
marie@compute$ ml modenv/classic ansys/19.0
The following have been reloaded with a version change:
1) modenv/scs5 => modenv/classic
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment