Building your own Docker image from scratch is the best way to learn about containerization. Especially if you can add to that Docker image only the files you need and more so when you made the binaryy to add. Creating our own C source file we can display the hostname of a system. This is the only file and only binary needed in any container made from the image. We can compile the source code and add the image so the image is less than 1MB
Additionally you can find my video courses on Pluralsight: [ Ссылка ] and take time to see my own site [ Ссылка ]
-~-~~-~~~-~~-~-
Please watch: "RHCSA 9 Working With Podman Containers"
[ Ссылка ]
-~-~~-~~~-~~-~-
Building a Docker Image from Scratch
Теги
Docker Image Scratchbuild docker image from scratchcreate docker base image from scratchdocker image from scratchcreate own docker image from scratchbuild docker image fomr scratchbuild docker image form scratchcreate docker base image fomr scratchcreate docker base image form scratchdocker image fomr scratchdocker image form scratchcreate own docker image fomr scratchCreate own docker image form scratchgccsourcecodestatic compile