kamal server
You can run kamal server bootstrap
to setup docker on your hosts.
It will check if docker is installed and if not it will attempt to install it via get.docker.com.
$ kamal server
Commands:
kamal server bootstrap # Set up Docker to run Kamal apps
kamal server help [COMMAND] # Describe subcommands or one specific subcommand