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 port forwarding between container and host
  • Unable to use sed to customize buffer size in mariadb Dockerfile
  • Short lived kubernetes container (/sidekick) in a pod (in a Replication Controller)
  • Docker: how to force graylog web interface over https?
  • OSX boot2docker trouble connecting to docker daemon
  • Creating Docker Container for my database
  • Docker + supervisord: how to initialize services (mongo & elasticmq)?
  • docker untagged images with tag (using docker-compose)
  • Rebuild same docker image with only the additional changes in the Dockerfile
  • Image in docker-compose with arguments
  • How to sort by name `docker service ls`
  • run docker exec on possibly stopped container, so that it would execute without error
  • 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.