java - Extend docker container -
i new docker , have question regarding possibility extend docker image after pulling docker repository. need docker image ubuntu 14.04, java , r. see there images separately 3 of them. question dockerfile of newly pulled images can extend them?
dockerfiles made build image inverse operation isn't possible.
if want extend existing image have 2 solution.
- run image in container, change , commit new image. https://docs.docker.com/reference/commandline/cli/
- write dockerfile image want base. (1st line of dockerfile should
from myimage
) https://docs.docker.com/reference/builder/
Comments
Post a Comment