brooklyncentral / clocker

Apache Brooklyn cloud native infrastructure blueprints
Apache License 2.0
428 stars 66 forks source link

docker exec uses /bin/bash instead of /bin/sh #323

Open avedz opened 8 years ago

avedz commented 8 years ago

Hi, could we have /bin/sh to use in docker exec post.launch command instead of /bin/bash? The problem is that /bin/sh is much more widely used in docker images and bash is sometimes just missing from some images. Or is it possible to make it as configurable?

Thanks

https://github.com/brooklyncentral/clocker/blob/master/docker/src/main/java/clocker/docker/location/DockerContainerLocation.java