File tree Expand file tree Collapse file tree 2 files changed +13
-1
lines changed
Expand file tree Collapse file tree 2 files changed +13
-1
lines changed Original file line number Diff line number Diff line change @@ -112,6 +112,10 @@ To be sure that you have the latest version of the (base) containers you can for
112112
113113 vendor/bin/sdTest.sh build --no-cache --pull
114114
115+ To be sure to use the newest containers (not only build based containers):
116+
117+ vendor/bin/sdTest.sh pull
118+
115119To destroy and restart your containers in one step without rebuilding images run:
116120
117121 vendor/bin/sdTest.sh reset
Original file line number Diff line number Diff line change @@ -106,6 +106,10 @@ function remove_container {
106106 docker_compose_cmd rm -v $@
107107}
108108
109+ function pull_container {
110+ docker_compose_cmd pull $@
111+ }
112+
109113function get_logs {
110114 docker_compose_cmd logs $@
111115}
@@ -161,11 +165,15 @@ case "$1" in
161165 shift
162166 remove_container $@
163167 ;;
168+ pull)
169+ shift
170+ pull_container $@
171+ ;;
164172 log|logs)
165173 shift
166174 get_logs $@
167175 ;;
168176 * )
169- echo " usage: init/start/stop/run/restart/build/reset/remove/logs"
177+ echo " usage: init/start/stop/run/restart/build/reset/remove/pull/ logs"
170178 ;;
171179esac
You can’t perform that action at this time.
0 commit comments