mirror of
https://github.com/yeasy/docker_practice.git
synced 2025-08-12 01:41:47 +00:00
Minor update ignore file; Add pull_all and push_all scripts
This commit is contained in:
13
_local/pull_all.sh
Normal file
13
_local/pull_all.sh
Normal file
@@ -0,0 +1,13 @@
|
||||
#!/bin/sh
|
||||
|
||||
# This script will update all local images
|
||||
# See: https://github.com/yeasy/docker_practice/blob/master/_local/pull_all.sh
|
||||
# Usage: pull_all
|
||||
# Author: yeasy@github
|
||||
# Create: 2014-09-23
|
||||
|
||||
for image in `sudo docker images|grep -v "REPOSITORY"|grep -v "<none>"|awk '{print $1":"$2}'`
|
||||
do
|
||||
sudo docker pull $image
|
||||
done
|
||||
|
Reference in New Issue
Block a user