occitech / docker

Docker images we use at Occitech
31 stars 36 forks source link

Utiliser docker port pour déterminer le port externe pour l'url base Magento #5

Closed real34 closed 9 years ago

real34 commented 9 years ago

Plutôt que la solution actuelle pour portLinkedTo80 qui ne fonctionne pas partout.

Piste : docker port $(docker ps -a | grep ${WEB_1_NAME:1} | grep "\->80" | awk '{print $1}') 80 | sed s/0.0.0.0://

chadrien commented 9 years ago

Extrait dans un binaire utilitaire : 9002abfd31430582805d6bff80cefd433b05c386