mirror of
https://github.com/community-scripts/ProxmoxVE
synced 2025-02-14 19:59:17 +00:00
Use the latest versions of runlike with --use-volume-id (#2325)
This commit is contained in:
parent
3b905f29ef
commit
585bb697b5
@ -48,6 +48,7 @@ function update_script() {
|
||||
docker pull "${CONTAINER_IMAGE}"
|
||||
LATEST_IMAGE="$(docker inspect --format "{{.Id}}" --type image "${CONTAINER_IMAGE}")"
|
||||
if [[ "${RUNNING_IMAGE}" != "${LATEST_IMAGE}" ]]; then
|
||||
pip install -U runlike
|
||||
echo "Updating ${container} image ${CONTAINER_IMAGE}"
|
||||
DOCKER_COMMAND="$(runlike --use-volume-id "${container}")"
|
||||
docker rm --force "${container}"
|
||||
|
Loading…
Reference in New Issue
Block a user