gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[taler-wallet-core] branch master updated: add instructions on ‘docker’


From: gnunet
Subject: [taler-wallet-core] branch master updated: add instructions on ‘docker’ group prior to original Docker instructions
Date: Fri, 04 Dec 2020 16:49:27 +0100

This is an automated email from the git hooks/post-receive script.

ttn pushed a commit to branch master
in repository wallet-core.

The following commit(s) were added to refs/heads/master by this push:
     new d1f03863 add instructions on ‘docker’ group prior to original Docker 
instructions
d1f03863 is described below

commit d1f03863427b2a8b1b397cb06fa0c03a33e8fa76
Author: Thien-Thi Nguyen <ttn@gnuvola.org>
AuthorDate: Fri Dec 4 10:47:09 2020 -0500

    add instructions on ‘docker’ group prior to original Docker instructions
    
    NB: Although these instructions are correct, they might be overkill.
    There is a quick and dirty fix for permissions problems:
    
      chmod 777 /var/run/docker.sock
    
    but that is Not Recommended because it is extremely insecure.
---
 README | 23 ++++++++++++++++++++++-
 1 file changed, 22 insertions(+), 1 deletion(-)

diff --git a/README b/README
index 577c0a3a..cea72791 100644
--- a/README
+++ b/README
@@ -38,7 +38,28 @@ This will create the zip file with the WebExtension in the 
directory
 packages/taler-wallet-webextension/extension/
 ```
 
-We also provide a `Dockerfile` for a container that can build the WebExtension:
+We also provide a `Dockerfile` for a container that can build the
+WebExtension.  After you install docker, make sure the user is in group
+`docker` and (re-)start the docker daemon:
+
+```shell
+# Make sure there is a docker group.
+$ grep docker: /etc/group
+$ sudo groupadd docker
+
+# Make sure USER is defined and is in the docker group.
+$ echo $USER
+$ sudo usermod -aG docker $USER
+
+# Restart the docker daemon.
+# (This command is OS-specific.)
+
+# Obtain a new shell.  Make sure it includes the `docker` group.
+$ newgrp docker
+$ id
+```
+
+Then, you can proceed with these instructions:
 
 ```shell
 # Download wallet source code and unpack it

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]