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

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?

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.


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