https://github.com/southernmethodistuniversity/python_container
Template for Containerized Python Environments on SMU HPC Systems
https://github.com/southernmethodistuniversity/python_container
Last synced: 25 days ago
JSON representation
Template for Containerized Python Environments on SMU HPC Systems
- Host: GitHub
- URL: https://github.com/southernmethodistuniversity/python_container
- Owner: SouthernMethodistUniversity
- License: mit
- Created: 2023-08-15T22:07:50.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2023-08-17T18:27:10.000Z (almost 3 years ago)
- Last Synced: 2025-03-03T03:13:21.044Z (over 1 year ago)
- Language: Shell
- Size: 3.91 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Python Containers for SMU HPC Systems
Template repository for containerized Python environments on SMU HPC Systems.
## Building Apptainer Container via Docker
1. Edit container/module name and version in `build_images.sh`.
2. In `module.lua`, edit the `img_directory` path to a desired location on SMU
HPC systems.
3. Rename `module.lua` to the name choosen above.
4. Run script via `./build_images.sh` on a system with Docker.
5. Upload the generated Apptainer container image and associated module file to
SMU HPC systems.
6. The container can be used via `module use &&
module load `.`
## Example Commands for Working with Docker Manually
Several options, including:
`docker build -t module:latest .`
`docker build --platform linux/amd64 -t module:latest .`
`docker build --no-cache --progress=plain -t module:latest .`
`docker run --entrypoint /bin/bash -it module:latest`