Shell commands in docker container?

Got some more testing done, I was confused, I don’t need the dockers name itself, it was only for testing.

What is my trouble is how to write the script itself.
“ssh user@IPaddress” asks for password. How do I put this in the script? So that it will automatically connect to ssh and run net rpc shutdown -f -t 0 -I 192.168.1.3 -U username%password?