run docker container on startup code example
Example 1: docker run restart on boot
$ docker run -d --restart unless-stopped <image>
Example 2: docker run command on container
sudo docker exec -it <container name> <command>
$ docker run -d --restart unless-stopped <image>
sudo docker exec -it <container name> <command>