Docker Image
Last updated
Last updated
The following are the steps to create an image.
Create a file named Dockerfile
Add the dependencies
Add the default command to be executed on container started from this image.
A sample Docker file contents is shown below,
Running the above docker file results in following output
Container images are composed of layers and understanding this process helps is key to understanding image, read more about it here.
More reference to different docker file instructions can be found here.