docker-compose.yml
mysql:
....
expose:
- "3306"
говорит что нужно пробросить порт в контейнер из секции links? я правильно понимаю?
Скорей всего это было в прошлом. In older versions of Docker, the EXPOSE keyword could be used for service discovery by linked containers, but (a) it still didn't have any operational impact -- the ports were available whether or not there was a matching EXPOSE -- and container "linking" has been deprecated for a quite some time.
Что не так ?
Обсуждают сегодня