- CONTAINER_UID0: This specifies whether root is used inside the container.
+- CONTAINER_NO_PULL: If set to 1, the script will not pull from docker hub.
+ This is useful when testing container locally.
+
- XEN_CONFIG_EXPERT: If this is defined in your shell it will be
automatically passed through to the container.
# Fetch the latest version of the container in hub.docker.com,
# unless it's a newly created local copy.
#
-einfo "*** Ensuring ${CONTAINER} is up to date"
-docker pull ${CONTAINER} > /dev/null || \
- die "Failed to update docker container"
+if [[ "_${CONTAINER_NO_PULL}" != "_1" ]]; then
+ einfo "*** Ensuring ${CONTAINER} is up to date"
+ docker pull ${CONTAINER} > /dev/null || \
+ die "Failed to update docker container"
+fi
if hash greadlink > /dev/null 2>&1; then
READLINK=greadlink