[Cloud] 6. Using Dockerfile


[Cloud] 6. Using Dockerfile

In this post, we will create an image using a Dockerfile. There are 3 ways to create an Image in Docker. - Create a new image using the Tag command - Create Image using Commit command in the running container - Create a new image using Dockerfile. Dockerfile is a text document composed of commands written by the user sequentially, and this document creates an image with the docker build command together with Context. So let's learn more about Dockerfile. Below is a Sample Dockerfile. In Dockerfi...


#ADD #USER #RUN #MAINTAINER #FROM #EXPOSE #ENV #ENTRYPOINT #COPY #CMD #VOLUME

원문링크 : [Cloud] 6. Using Dockerfile