mirror of
https://github.com/telekom-security/tpotce.git
synced 2025-07-02 04:52:11 +00:00
docker pull background
This commit is contained in:
parent
b57f6ddd1e
commit
aea14c9ead
1 changed files with 2 additions and 1 deletions
|
@ -752,8 +752,9 @@ esac
|
||||||
function fuPULLIMAGES {
|
function fuPULLIMAGES {
|
||||||
for name in $(cat $myTPOTCOMPOSE | grep -v '#' | grep image | cut -d'"' -f2 | uniq)
|
for name in $(cat $myTPOTCOMPOSE | grep -v '#' | grep image | cut -d'"' -f2 | uniq)
|
||||||
do
|
do
|
||||||
docker pull $name
|
docker pull $name &
|
||||||
done
|
done
|
||||||
|
wait
|
||||||
}
|
}
|
||||||
fuBANNER "Pull images"
|
fuBANNER "Pull images"
|
||||||
fuPULLIMAGES
|
fuPULLIMAGES
|
||||||
|
|
Loading…
Reference in a new issue