docker-java icon indicating copy to clipboard operation
docker-java copied to clipboard

Show service scaling using docker-compose

Open arun-gupta opened this issue 10 years ago • 6 comments

Use docker-compose scale mywildfly=2 to show service scaling using docker-compose. This is to be added in chapters/docker-compose.adoc.

arun-gupta avatar Jun 05 '15 16:06 arun-gupta

Just a fyi, compose isn't working on Windows at all. On Jun 5, 2015 6:19 PM, "Arun Gupta" [email protected] wrote:

Use docker-compose scale mywildfly=2 to show service scaling using docker-compose. This is to be added in chapters/docker-compose.adoc.

— Reply to this email directly or view it on GitHub https://github.com/arun-gupta/docker-java/issues/51.

myfear avatar Jun 05 '15 18:06 myfear

Seems like compose can run as a Docker container?

http://stackoverflow.com/questions/29289785/how-to-install-docker-compose-on-windows

arun-gupta avatar Jun 05 '15 19:06 arun-gupta

I validated, that there is no way to run compose as a plain python package without Cygwin or Babun (http://py-generic-project.readthedocs.org/en/latest/installing.html#babun).

Still struggling with the Docker container approach.

myfear avatar Jun 08 '15 11:06 myfear

Can't even run as Docker container?

arun-gupta avatar Jun 08 '15 12:06 arun-gupta

Finally getting there: http://blog.eisele.net/2015/06/docker-compose-on-windows-with-python.html

But it is a looooong way. I can't make the docker container approach to work.

myfear avatar Jun 08 '15 12:06 myfear

Lets mark it as optional in this version of the workshop. We can always revisit this for subsequent delivery, ok?

arun-gupta avatar Jun 08 '15 12:06 arun-gupta