From the course: Cisco DevNet Associate (200-901) Cert Prep 4: Application Deployment and Security

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Learn about Docker images

Learn about Docker images

- [Instructor] Let's talk about Docker images. Docker images are built from Dockerfiles. As we've seen before, it generally grabs a base image from Docker Hub and adds different operations to the base image until it is ready to be launched. Docker Hub is the default location for Docker to pull their images from. As with any public repositories, it is a good idea to practice good hygiene in the images you and I would download. One good way to do that is to search for images that is Docker certified official images, also from verified publishers. Once we obtain the base image, we could use the Dockerfile reference to get a bit more detail about what we could do to customize our operations. Some of the more common operations include using run to execute commands in a container, use CMD to provide a default for an executed container, use EMV to provide environmental variables, and use copy to copy any local files to the…

Contents