Changing docker run options


#1

I am currently using RancherOS and need to modify the docker run options to include the private CA certificate, and to do that, I had to kill the already running rancher and docker run the rancher/rancher with the certificate. And it seems that all the changes that was made to the previous container was lost. ros config export shown that the state: dev: LABEL=RANCHER_STATE. my question is how does state are being kept and how do I avoid the problem above on updating the command? Thanks


#2

I found my answer on https://rancher.com/docs/rancher/v2.x/en/upgrades/upgrades/single-node-upgrade/