Skip to content

Commit

Permalink
Merge pull request #20 from NL-TCH/patch-1
Browse files Browse the repository at this point in the history
fix for arm devices
  • Loading branch information
billz authored Jan 9, 2024
2 parents 9063387 + fddc0d6 commit 84fd67a
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,17 @@ A community-led docker container for RaspAP

# Usage
```
docker run --name raspap -it -d --privileged --network=host -v /sys/fs/cgroup:/sys/fs/cgroup:ro --cap-add SYS_ADMIN jrcichra/raspap-docker
docker run --name raspap -it -d --privileged --network=host -v /sys/fs/cgroup:/sys/fs/cgroup:ro --cap-add SYS_ADMIN ghcr.io/raspap/raspap-docker:latest
```
Web GUI should be accessible on http://localhost by default

## Workaround for ARM devices
To use this container on ARM devices you have to make cgroups writable:
```
## Workaround for arm devices
To use this container on arm devices you have to make cgroups writable:
docker run --name raspap -it -d --privileged --network=host --cgroupns=host -v /sys/fs/cgroup:/sys/fs/cgroup:rw --cap-add SYS_ADMIN ghcr.io/raspap/raspap-docker:latest
```
docker run --name raspap -it -d --privileged --network=host --cgroupns=host -v /sys/fs/cgroup:/sys/fs/cgroup:rw --cap-add SYS_ADMIN jrcichra/raspap-docker
Web GUI should be accessible on http://localhost by default
```

## Allow WiFi-clients to connect to LAN and internet
Because of docker isolation and security defaults the following rules must be added on the docker host:
```
Expand Down

0 comments on commit 84fd67a

Please sign in to comment.