Skip to content

Commit

Permalink
Clarify guix-daemon running instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
dongcarl authored Mar 18, 2019
1 parent d24f333 commit bb2bc91
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions guix/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,17 @@ DOCKER_BUILDKIT=1 docker build -t alpine-guix .

### Run the alpine-guix container

Note the use of [__--privileged__](https://docs.docker.com/engine/reference/run/#runtime-privilege-and-linux-capabilities) here. Read the documentation before running any image with this flag.

To `exec` a `guix-daemon` (a prerequisite for guix builds)
```bash
pushd bitcoin
docker run -it --name alpine-guix --privileged -v $PWD:/bitcoin --workdir /bitcoin alpine-guix
```

The daemon will run in the foreground, so don't be alarmed if it hangs.

Note the use of [__--privileged__](https://docs.docker.com/engine/reference/run/#runtime-privilege-and-linux-capabilities) here. Read the documentation before running any image with this flag.


### Do a Bitcoin Core build:

```bash
Expand Down

0 comments on commit bb2bc91

Please sign in to comment.