This commit is contained in:
@@ -58,12 +58,12 @@ PY
|
||||
|
||||
start_container() {
|
||||
local container="$1"
|
||||
docker run --detach \
|
||||
--name "$container" \
|
||||
docker create --name "$container" \
|
||||
--platform linux/amd64 \
|
||||
--mount "type=bind,src=${options_file},dst=/data/options.json,readonly" \
|
||||
--publish 127.0.0.1::8080 \
|
||||
"$image" >/dev/null
|
||||
docker cp "$options_file" "$container:/data/options.json"
|
||||
docker start "$container" >/dev/null
|
||||
}
|
||||
|
||||
host_port() {
|
||||
|
||||
Reference in New Issue
Block a user