docker - does the FROM directive in a dockerfile allways pull the latest version of an image -
if have dockerfile:
from ubuntu/latest
and ubuntu update image in public registry. when run docker build .
, use ubuntu got first time or pull new version?
no, not. from
directive use whatever happens available in local image cache, unless pass --pull
docker build
.
Comments
Post a Comment