mirror of
https://github.com/stefanpejcic/openpanel
synced 2025-06-26 18:28:26 +00:00
Update INSTALL.sh
This commit is contained in:
parent
875d144e5c
commit
35bc7e9907
@ -1057,7 +1057,10 @@ download_and_import_docker_images() {
|
|||||||
echo "Downloading docker images in the background.."
|
echo "Downloading docker images in the background.."
|
||||||
|
|
||||||
if [ "$SKIP_IMAGES" = false ]; then
|
if [ "$SKIP_IMAGES" = false ]; then
|
||||||
opencli docker-update_images
|
# See https://github.com/moby/moby/issues/16106#issuecomment-310781836 for pulling images in parallel
|
||||||
|
# Nohup (no hang up) with trailing ampersand allows running the command in the background
|
||||||
|
# The </dev/null bits redirects the outputs to files rather than strout/err
|
||||||
|
nohup sh -c "echo openpanel/nginx:latest openpanel/apache:latest | xargs -P10 -n1 docker pull" </dev/null >nohup.out 2>nohup.err &
|
||||||
# stopped working on 0.1.8 :(
|
# stopped working on 0.1.8 :(
|
||||||
# opencli docker-update_images &
|
# opencli docker-update_images &
|
||||||
# pid1=$!
|
# pid1=$!
|
||||||
|
Loading…
Reference in New Issue
Block a user