Apptainer: Difference between revisions

Jump to navigation Jump to search
No change in size ,  3 months ago
no edit summary
m (building an image link is broken. Fixed it here.)
No edit summary
Line 440: Line 440:
If one only has a Dockerfile and wishes to create an Apptainer image, run the following on a computer with Docker and Apptainer installed (where you've sufficient permissions):
If one only has a Dockerfile and wishes to create an Apptainer image, run the following on a computer with Docker and Apptainer installed (where you've sufficient permissions):


<!--T:125-->
<!--T:125-->
docker build -f Dockerfile -t your-tag-name
docker build -f Dockerfile -t your-tag-name
  docker save your-tag-name -o your-tarball-name.tar
  docker save your-tag-name -o your-tarball-name.tar
  docker image rm your-tag-name
  docker image rm your-tag-name
cc_staff
46

edits

Navigation menu