rabbah commented on a change in pull request #3813: Recover image pulls by 
trying to run the container anyways.
URL: 
https://github.com/apache/incubator-openwhisk/pull/3813#discussion_r204482500
 
 

 ##########
 File path: docs/actions-docker.md
 ##########
 @@ -105,6 +105,10 @@ The instructions that follow show you how to use the 
OpenWhisk Docker skeleton.
   Notice the use of `--docker` when creating an action. Currently all Docker 
images are assumed
   to be hosted on Docker Hub.
 
+  *Note:* It is considered best-practice for production images to be versioned 
via docker image tags. The tag "latest" or no tag will guarantee to always be 
on the latest state when creating new containers, but that contains the 
possibility of failing because pulling the image fails. For tagged images 
however, the system will allow a failing pull and gracefully recover it by 
using the image that is already locally available, making it much more 
resilient against Dockerhub outages etc.
 
 Review comment:
   Suggested rewrite for the first sentence:
   
   The absence of a tag will be treated the same as using the tag "latest" 
which will pull an image from Dockerhub. Please note that "latest" doesn't mean 
newest tag, but rather "latest" is an alias for any image built without an 
explicit tag.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to