You can do the following things:
You can use the tools container as the cli container.
docker exec -it d10d170cd2fa /bin/bash
try running
docker-compose restart -f docker-compose-simple.yaml cli or docker-compose up -f docker-compose-simple.yaml cli
If both of these doesnt work then use docker logs cli and see the logs and try to understand why it exited.