Using ephemeral mapping
After setting up a few container instances with specific port mappings, your team's QA member would like to know how to automatically map an ephemeral port to a container for testing. They'd like to make sure multiple container instances can be mapped without modifying the Docker command being used.
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