how to continue a bash script after it reboots the machine from the command after the reboot command?

I’m working on a bash script for installing and setting up docker and run a application. The script needs to reboot the system and should continue after the reboot. I’m new with BASH, please help me getting through this.

Thanks,
Ketan.

  • Docker can't load config file, but container works fine
  • Ansible Variables only X times per host
  • Best way to transfer data to named volume of Docker
  • Docker Container Version Control
  • How to create a customizable environment that can be rapidly distributed to a local machine?
  • save installations at Docker
  • Does Apache Mesos + Marathon support LXD cluster management?
  • How to take container snapshots in docker
  • Running docker container in Jenkins container, How can I set the volume from host?
  • docker compose version 2 recreates container when it should not
  • Docker java .jar won't run
  • How to list the container images in the Google Container Registry using java
  • One Solution collect form web for “how to continue a bash script after it reboots the machine from the command after the reboot command?”

    Try putting everything that you need to execute after the reboot here:

    /etc/rc.local
    
    Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.