Closed ahmetb closed 8 years ago
@tjprescott I think this was happening because we didn't alias was documented as:
alias az='docker run --rm -v ~/.azure:/root/.azure azuresdk/azure-cli-python az'
it should have -i -t
in there too. Can you please update the readme as:
alias az='docker run --rm -i -t -v ~/.azure:/root/.azure azuresdk/azure-cli-python az'
this gives us Ctrl+Cs work better and colors on Dockerized mode.
@derekbekoe you're our Docker pro--does this fix make sense to you?
Approved the PR
This is a worse manifestation of #596
This command normally takes 1-2 minutes to complete...
Start this command and wait 3 seconds and start hitting ctrl+c, you won't be able to exit it.
I had to stop the process using OS X
kill
command.I encourage you to try this, mostly because my
az
is aliased todocker run --rm -i -t [...] az
and it might be a signal handling issue in az CLI (docker sends SIGTERM on Ctrl+C) or might be some signal forwarding issue in Docker CLI. So I'm not 100% sure if the problem is isolated toaz
CLI.You should be able to repro this easily on Linux/OS X outside container if it's an az CLI issue.