Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
hpc-compendium
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ZIH
hpcsupport
hpc-compendium
Commits
b8a81767
Commit
b8a81767
authored
3 years ago
by
Martin Schroschk
Browse files
Options
Downloads
Plain Diff
Merge branch 'issue274' into 'preview'
Add missing prompts
#274
See merge request
!508
parents
81a6b2d4
ec6fd10e
No related branches found
Branches containing commit
No related tags found
2 merge requests
!542
Automated merge from preview to main
,
!508
Add missing prompts #274
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
doc.zih.tu-dresden.de/docs/software/containers.md
+8
-8
8 additions, 8 deletions
doc.zih.tu-dresden.de/docs/software/containers.md
doc.zih.tu-dresden.de/docs/software/scs5_software.md
+1
-1
1 addition, 1 deletion
doc.zih.tu-dresden.de/docs/software/scs5_software.md
with
9 additions
and
9 deletions
doc.zih.tu-dresden.de/docs/software/containers.md
+
8
−
8
View file @
b8a81767
...
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
doc.zih.tu-dresden.de/docs/software/scs5_software.md
+
1
−
1
View file @
b8a81767
...
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment