build files for making podman containers
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

13 lines
172 B

#!/bin/bash
if [[ -z $1 ]]; then
echo "Usage: $0 image [name]"
exit 1
fi
if [[ -z $2 ]]; then
2=$1
fi
podman create --name $2 $1
podman start $2