After following instructions to setup a blockchain system, my colleague moved everything into a script since it needs to be run multiple times.
However as a script it fails on the following line:
docker exec -it cli bash
When entering it into a terminal use user and path change to root@someaddress which I assume is the new docker container. Then -it cli bash should create a new bash environment to run the rest of the commands.
Is there any reason this doesn't work as a shell script?
sudopermission? You must have an error printed in the terminal if the script failed, can you add it in your question?