From bfe729f7ed68329f29c8b6eb068a48d025f94d4c Mon Sep 17 00:00:00 2001 From: Frederic Hemberger Date: Thu, 11 Jun 2020 12:29:43 +0200 Subject: [PATCH] [docs/docker driver] fix username in example > If you do not run Nomad as root, make sure you add the Nomad user to the Docker group so Nomad can communicate with the Docker daemon. Changing the username in the example from `vagrant` to `nomad`. Vagrant isn't addressed in the entire document, so I guess that this was a mistake. --- website/pages/docs/drivers/docker.mdx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/website/pages/docs/drivers/docker.mdx b/website/pages/docs/drivers/docker.mdx index f261ba45c..6abd65c1a 100644 --- a/website/pages/docs/drivers/docker.mdx +++ b/website/pages/docs/drivers/docker.mdx @@ -637,11 +637,11 @@ socket. Nomad will need to be able to read/write to this socket. If you do not run Nomad as root, make sure you add the Nomad user to the Docker group so Nomad can communicate with the Docker daemon. -For example, on Ubuntu you can use the `usermod` command to add the `vagrant` +For example, on Ubuntu you can use the `usermod` command to add the `nomad` user to the `docker` group so you can run Nomad without root: ```shell-session -$ sudo usermod -G docker -a vagrant +$ sudo usermod -G docker -a nomad ``` For the best performance and security features you should use recent versions