Manual start of the rancher server

Typically the container of rancher server automatically starts when you start the docker engine. How can i change this behavior in order to manually start the rancher server.

This is a standard Docker feature; remove --restart=always from the docker run command.

I have already tried to run without --restart=always but I have the same behavior. when I restart the docker daemon it automatically starts the rancher server.

Did you delete the old container that still had it? Just stopping it will leave the container around and it will restart on reboot (because --restart=always)

thanks! docker rm -v $(docker ps -a -q -f status=exited) solved my problem.