Skip to content

Commit

Permalink
Merge pull request #4 from dongcarl/patch-1
Browse files Browse the repository at this point in the history
Clarify guix-daemon running instructions
  • Loading branch information
fanquake authored Mar 19, 2019
2 parents d24f333 + bb2bc91 commit a8bc9cc
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 a8bc9cc

Please sign in to comment.