azukiapp / azk

azk is a lightweight open source development environment orchestration tool. Instantly & safely run any environment on your local machine.
http://azk.io
Apache License 2.0
897 stars 63 forks source link

[cli] Adding `azk deploy` command #534

Closed gullitmiranda closed 8 years ago

gullitmiranda commented 8 years ago

But this change required some changes on how the container run command is get. Until now, azk used /bin/sh -c by default in order to run any command inside a container. However, in cases which the Docker image set a custom CMD[...], this custom command was ignored and the behavior was different from the expected. The consequences of this change is:

azk shell --shell=SHELL -c CMD # => SHELL -c "CMD"
azk shell -- CMD               # => CMD