Skip to content

Cannot execute aliases from outside the container

It would be handy to call restart_all, reset_all, etc. from outside the container, like:

docker exec -ti koha_koha_1 /bin/bash -c "restart_all"

However it does not work (even sourcing .bash_aliases)

I am suggesting to move them to a function in .bashrc