You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

14 lines
534 B
Plaintext

# ch-run
# Utility to run a command in a Charliecloud container.
# More information: <https://github.com/hpc/charliecloud>.
# Run the given `echo` command inside a Charliecloud container, using the
# unpacked image at '/data/foo'.
ch-run /data/foo -- echo hello
# Make the Charliecloud container writable `-w` and mount the host's
# '/home/user' directory to '/mnt' inside the container using the unpacked
# image at '/data/foo'. Run `/mnt/your_exec` inside the container.
ch-run -w -b /home/user:/mnt /data/foo -- /mnt/your_exec