big-data-europe / docker-hive

1.03k stars 551 forks source link

Use `docker-compose exec` to enter hive-server #13

Closed takuti closed 6 years ago

takuti commented 6 years ago

Since docker-compose.yml does not set container name, docker exec -it hiver-server is impossible. Alternatively, we should pass container ID of the service as:

$ docker exec -it $(docker-compose ps -q hive-server) bash

Additionally, now docker-compose exec is more straightforward and easy-to-use option. So, this PR updates README so.

gmouchakis commented 6 years ago

@takuti indeed it is more straightforward now. Thanks for the input.