From 0953dae22190e0b15fc7bbe68bd0ee09cc55759e Mon Sep 17 00:00:00 2001 From: Stefan Date: Mon, 3 Feb 2020 16:59:24 +0100 Subject: [PATCH] Docs: Make upgrading instructions for Docker work (#21836) One has to use "grafana/grafana" image - only using "grafana" will result in an error message like this: Error response from daemon: pull access denied for grafana, repository does not exist or may require 'docker login' It's a good idea to daemonize new container. The install instructions for Docker do this, and this instructions assume that running container already is daemonized (otherwise you wouldn't have to stop it). Best practise would be to create a new container, then stop old one and start new one - this would reduce downtime. To keep instructions simple and understandable, I didn't include that. --- docs/sources/installation/upgrading.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/sources/installation/upgrading.md b/docs/sources/installation/upgrading.md index 0cc42651f01..1451fe30711 100755 --- a/docs/sources/installation/upgrading.md +++ b/docs/sources/installation/upgrading.md @@ -105,10 +105,10 @@ sudo yum update grafana This just an example, details depend on how you configured your grafana container. ```bash -docker pull grafana +docker pull grafana/grafana docker stop my-grafana-container docker rm my-grafana-container -docker run --name=my-grafana-container --restart=always -v /var/lib/grafana:/var/lib/grafana +docker run -d --name=my-grafana-container --restart=always -v /var/lib/grafana:/var/lib/grafana grafana/grafana ``` ### Windows