in aws ec2 I would paste my script in the user data textbox,
here I tried the Custom Data to set a script that installs docker, but it didn’t work,
I also tried encoding it like this:
certutil -encode installDockerBash.txt encoded.txt
before pasting it into the textbox, but docker is still not present when I connect to it, so I presume the script didn’t execute.