cc_staff
46
edits
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--> | |||
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 |