Docker Community Forums

Share and learn in the Docker community.

Someone can tell me, How to merge two docker images together?


(Gur20531) #1

Actually I am trying to add 2 docker images like e.g.==> Ubuntu:14.04 + library/gcc and trying to create new docker image.

Can someone suggest me how to do that?


(Sven Dowideit) #2

the best way, would be to re-use the Dockerfile that library/gcc was built
with, and modify it to be based on the ubuntu one (and then later add your
other needs.

Sven

Docker Engineer
Ask me anything …
Brisbane, Australia (UTC+10)