3 ms·
Just wanted to mention (because I had encountered this problem only last weekend) `docker-compose run --service-ports... ` will expose ports. From docs: "Run c
by kamikaz1k 7y ago
Just wanted to mention (because I had encountered this problem only last weekend) `docker-compose run --service-ports... ` will expose ports.
From docs:
"Run command with the service's ports enabled and mapped to the host."
https://docs.docker.com/compose/reference/run/ https://docs.docker.com/compose/reference/run/
Also, for anybody wondering about "synchronization" solutions, I have found dockerize to be very useful.
https://github.com/jwilder/dockerize https://github.com/jwilder/dockerize
- nunez 7y agoThat's an awesome tip; thank you!