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.

  • Mesos, Marathon, Docker, Wildfly
  • Minimizing the number of layers in Dockerfile
  • Running a longer command from docker
  • “docker run swarm create” failed with error “503 Service Unavailable”
  • Syn flood and net.ipv4.tcp_syncookies
  • Testing containerized microservice with external dependency
  • Docker mount directories to container rules
  • Docker container not connecting to https endpoints
  • How to configure a Docker container to be reachable by container_ip:port from outside the host machine?
  • How to setup zookeeper cluster on docker swarm
  • How to install Docker on offline Windows 7 machine
  • docker-compose: where to store configuration for services?
  • 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.