No interactive mode for docker-compose on Windows
schmunk42 opened this issue · comments
Tobias Munk commented
via http://stackoverflow.com/q/35996204/291573
There's currently (1.6.2) no interactive mode for docker-compose
on Windows, so several commands from the docs can not be executed in a proper way.
Possible workarounds:
- use
docker exec -it app_php_1 bash
- if you don't really need an interactive shell, you could just run a command or script, like
docker-compose run -d php setup.sh
Note: I need to double-check the above suggestions on a real Windows testing system.
- another option is to use the Linux shell in the Docker VM, but supporting Windows directly is a (medium priority) goal of this project.
Tobias Munk commented
Related docker/compose#2836