Commit 7c1f6bf6 authored by ulrich_y's avatar ulrich_y
Browse files

Only one image specification is allowed

parent 17a954e6
...@@ -247,6 +247,11 @@ do ...@@ -247,6 +247,11 @@ do
fi fi
case "$command" in case "$command" in
image) image)
if [ -n "$containerid" ]; then
echo "Only one image specification is allowed"
diegracefully
exit 1
fi
img=$1 img=$1
echo "Using Docker image $img" echo "Using Docker image $img"
export containerid=$(udocker create $img) export containerid=$(udocker create $img)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment