The following volumes have to be mounted:
-v AWS CONFIG DIR:/root/.aws -v PROJECT DIR:/project -v SSH KEY:/root/.ssh/somekey.pem
eb is set as entrypoint. Commands can be used without specifying it (i.e. init instead of eb init).
docker pull objectsystems/ebcli:latest