Merge pull request #1094 from samalba/stdlib-docker-run-recreate2
stdlib/docker: #Run does not fail if container exists and recreate is false
This commit is contained in:
commit
164e6e3eb8
@ -227,6 +227,7 @@ import (
|
|||||||
docker rm "$CONTAINER_NAME"
|
docker rm "$CONTAINER_NAME"
|
||||||
else
|
else
|
||||||
echo "$CONTAINER_NAME already exists"
|
echo "$CONTAINER_NAME already exists"
|
||||||
|
exit 0
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
fi
|
fi
|
||||||
|
Reference in New Issue
Block a user