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.
Cet exercice fait partie du cours
Intermediate Docker
Exercice interactif pratique
Passez de la théorie à la pratique avec l’un de nos exercices interactifs
 Commencer l’exercice
Commencer l’exercice