The container is a process running on your computer that contains everything that is needed to run the application. Container: The result of running an image.E.g., for us, Rust will be a base image (which we don't build manually we download it ready to use) Base image: It is an image that we use to base ours.E.g., if our Dockerfile has instructions to build and run a Web Server, the image will contain the program (that is, the Web Server itself) which will be accessible when we run the image, thus creating the container Image: When we run a command build we create an image that contains everything we specified in the Dockerfile.In a Rust project, it lies alongside the manifest, that is, the Cargo.toml file Dockerfile: A file named Dockerfile that contains the commands that Docker will run to build the image.Docker: The application we just installed (or, to be more precise, the Docker daemon we use to deal with our images and containers).If you are completely new to Docker, it will help to have a clear understanding of what I mean when I use the following terms: It should pull the hello-world image from the Docker Hub and return a text block explaining in detail what happened behind the scene. ![]() ![]() ![]() Enter fullscreen mode Exit fullscreen mode
0 Comments
Leave a Reply. |