ComenzarEmpieza gratis

Passing a file to a running container

Your manager is pleased at your new knowledge of Docker data sharing and comes by with a scenario they'd like you to investigate. The primary application from your company is named crane and has been recently containerized by your department. This application is personalized for each of your company's customers and, thus far, has required building and maintaining a separate container image for each client. Your manager would like you to find a method to simplify this process.

After reviewing the container configuration, you see that each container image looks for a file named customerdata.json within the image. This file holds the specific customer information and must be placed into each image at build time.

Este ejercicio forma parte del curso

Intermediate Docker

Ver curso

Ejercicio interactivo práctico

Pon en práctica la teoría con uno de nuestros ejercicios interactivos

Empezar ejercicio