Que fait --name hello-world dans docker run --name hello-world hello-world ?
--name hello-world
docker run --name hello-world hello-world
Il active une politique de redémarrage automatique appelée hello-world.
hello-world
Il sélectionne l’image du conteneur ; le dernier argument désigne un réseau.
Il publie un port de l’hôte nommé hello-world.
Il attribue le nom hello-world au nouveau conteneur.