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.

  • Cannot use mongodb (docker) with Symfony 3
  • Kubernetes NFS volume mount fail with exit status 32
  • Docker: cannot open port from container to host
  • Why are there so many docker images with vulnerabilities? [closed]
  • Dockerfile - gradlew stuck on downloading
  • Trying to reach localhost from inside Selenium docker
  • Docker OSX port mapping error when run: exec
  • Using /container/id/top command for docker api
  • mysql docker container crashes often
  • Run a docker image on Windows results in “oci runtime error: exec: ”bash“: executable file not found in $PATH.”
  • Node.js docker container runs when folder is located on desktop but wont in C drive
  • Execution of python script hangs while executing docker exec command
  • 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.