mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-06-28 19:04:19 +00:00
Add DOCKER_BINARY / DOCKER_OPTS to all scripts
This commit is contained in:
parent
ca4b87aa05
commit
9eb01dd664
4 changed files with 10 additions and 3 deletions
|
@ -6,6 +6,9 @@
|
|||
# This source code is licensed under the terms described in the LICENSE file in
|
||||
# the root directory of this source tree.
|
||||
|
||||
DOCKER_BINARY=${DOCKER_BINARY:-docker}
|
||||
DOCKER_OPTS=${DOCKER_OPTS:-}
|
||||
|
||||
set -euo pipefail
|
||||
|
||||
RED='\033[0;31m'
|
||||
|
@ -34,7 +37,7 @@ port="$1"
|
|||
shift
|
||||
|
||||
set -x
|
||||
podman run -it \
|
||||
$DOCKER_BINARY run $DOCKER_OPTS -it \
|
||||
-p $port:$port \
|
||||
-v "$yaml_config:/app/config.yaml" \
|
||||
$docker_image \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue