Container shorthand - Dockerfile main directive

This article introduces the purpose of the main commands in Dockerfile FROM Specify the basic image. The recommended method is image:tag. Specify it precisely. Note: you can use multiple FROM, which will build multiple mirrors. For example, I want busybox and nginx at the same time. I can write this FROM busybox:latest FROM nginx:latest ...

Posted by Fsoft on Sun, 05 Dec 2021 15:09:33 -0800

Dockerfile custom image

Dockerfile custom image docekr learned that so far, we are all using third-party images, that is, third-party images in the remote image warehouse, but there will be a problem? Problem: images cannot be modified, but only have read permissions. In different specific environments, third-party images cannot support our needs. How to solve this pr ...

Posted by Sirus121 on Wed, 24 Nov 2021 02:13:59 -0800