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.
This commit is contained in:
parent
2c536d140f
commit
d1f0386342
23
README
23
README
@ -38,7 +38,28 @@ This will create the zip file with the WebExtension in the directory
|
|||||||
packages/taler-wallet-webextension/extension/
|
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
|
```shell
|
||||||
# Download wallet source code and unpack it
|
# Download wallet source code and unpack it
|
||||||
|
Loading…
Reference in New Issue
Block a user