![]() ![]() Note the following points about the above sudo command − We can do this by executing the following command on our Ubuntu machine − Now let’s look at how we can use the CentOS image available in Docker Hub to run CentOS on our Ubuntu machine. The run command is used to mention that we want to create an instance of an image, which is then called a container.įinally, "hello-world" represents the image from which the container is made. The Docker command is specific and tells the Docker program on the Operating System that something needs to be done. Let’s take an example of the following command in Docker. An image is a combination of a file system and parameters. In Docker, everything is based on Images.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |