Run container in non interactive mode
so it could be actionable via cron.
This commit is contained in:
parent
7df180f8f9
commit
b0b7994027
1 changed files with 1 additions and 1 deletions
|
@ -57,7 +57,7 @@ if [ -n "$INIT_FOLDER" ]; then
|
||||||
docker_mounts+=(-v "$INIT_FOLDER":/root/init.d)
|
docker_mounts+=(-v "$INIT_FOLDER":/root/init.d)
|
||||||
fi
|
fi
|
||||||
|
|
||||||
docker run --rm -it \
|
docker run --rm \
|
||||||
--hostname "$DOCKER_HOSTNAME" \
|
--hostname "$DOCKER_HOSTNAME" \
|
||||||
-v "$DUPLICITY_CACHE_VOLUME":/root/.cache/duplicity \
|
-v "$DUPLICITY_CACHE_VOLUME":/root/.cache/duplicity \
|
||||||
"${docker_mounts[@]}" \
|
"${docker_mounts[@]}" \
|
||||||
|
|
Loading…
Add table
Reference in a new issue