From 956cd9dee3a5f75df9b28a99e72dd7cd92efaec1 Mon Sep 17 00:00:00 2001 From: Chitoku YATO Date: Tue, 21 May 2024 17:40:16 -0700 Subject: [PATCH] Update README.md Instruct to use `usermod` command to avoid security risk --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index d4a2e4e9..1aac95e3 100644 --- a/README.md +++ b/README.md @@ -27,8 +27,8 @@ docker run --rm -it -p 8000:8000 -v ${PWD}:/docs squidfunk/mkdocs-material ``` > If you get "docker: Got permission denied while trying to connect to the Docker daemon socket at ..." error, -> issue `sudo chmod 666 /var/run/docker.sock` to get around with the issue. +> issue `sudo usermod -aG docker $USER; newgrp docker` to get around with the issue. ## How to also publish on GitHub -(to be documented) \ No newline at end of file +(to be documented)