Docker: Combine multiple images

前端 未结 4 1125
春和景丽
春和景丽 2020-11-27 18:27

Is it possible with Docker to combine two images into one?

Like this here:

genericA --
            \\
             ---> specificAB
            /
g         


        
4条回答
  •  迷失自我
    2020-11-27 19:14

    You can put multiple FROM commands in a single Dockerfile.

    https://docs.docker.com/reference/builder/#from

提交回复
热议问题