How to stop a Docker container which was started with `--restart always`?

docker update --restart=no <container>
docker stop <container>

Then you can remove the container, if you want:

docker rm <container>