Rancher-server container autostart after host bootup?

Hi guys, it seems that rancher server container would get started automatically after rebooting. Is there some config file controlling this behavior? Thanks.

It’s a standard docker container… --restart=always

Thank you @vincent, may I know where I could ultimately set --restart=always flag? I believe docker engine won’t start any container upon startup by default right…?

It just goes in the docker run ... rancher/server command. Assuming your have data you want to keep you’ll want to follow the upgrade steps (which uses the newer unless-stopped Option instead of always):

http://docs.rancher.com/rancher/v1.2/en/upgrading/

Got it, thanks @vincent