Created
May 22, 2020 22:19
-
-
Save ityonemo/4036b50fff8dcf373872440d3eee122b to your computer and use it in GitHub Desktop.
make-podman-like-singularity
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
IMAGE=<your image id> | |
CMD=<your cmd> | |
podman run --net host -v $HOME:$HOME -e HOME="$HOME" -w$(PWD) -it $IMAGE "$CMD $@" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment