Run command in docker container and give back the hand inside

Docker-compose

docker-compose exec <service> bash -l -c "<command> && /bin/bash"