Hello,
You could run a shell script at the end of your Dockerfile that includes the commands you want to run on boot, as outlined in this thread: Custom Boot Action/Script - There is also some information there about using systemd as well. Please note that running “on boot” may not be the same as “coming online” so if these suggestions do not achieve what you are looking to do, just let us know.