Home > other >  The tool in Docker can inherit base image?
The tool in Docker can inherit base image?

Time:10-11

RT, such as I was in the base image python3 ubuntu installation, and then use the FROM inheritance ubuntu to create a new image ubuntu: demo, found ubuntu: demo in the mirror and no python3,
May I use this way of inheritance?
Still need to use other ways?
Thank you very much?

CodePudding user response:

Find a solution,
Use Dockerfile create a mirror first, Dockfile file using the RUN apt - get the install command to install, then inherit the created image may need to inherit to the tool of come over,
  • Related