![]() ![]() Specifies the port to be exposed for the Docker container. If you want to set only build-time variables, use ARG instruction.Ĭopies local files and directories to the image It will be available during build time as well as in a running container. Sets environment variables inside the image. ![]() To specify the base image which can be pulled from a container registry( Docker hub, GCR, Quay, ECR, etc)Įxecutes commands during the image build process. This directory can be created on any node in the cluster, but it is recommended to create it on a node that is accessible to all pods.The following table contains the important Dockerfile instructions and their explanation. The first step is to create a shared directory that will be used to store the data that needs to be shared between pods. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |