-
-
Notifications
You must be signed in to change notification settings - Fork 31
fix: rpi-compatible Docker images #19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
ezhil56x
wants to merge
9
commits into
RaspAP:master
Choose a base branch
from
ezhil56x:docker-images
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 4 commits
Commits
Show all changes
9 commits
Select commit
Hold shift + click to select a range
12be38e
fix: rpi-compatible Docker images
ezhil56x 06881ea
fix: rpi-compatible Docker images
ezhil56x 84e8276
fix: rpi-compatible Docker images
ezhil56x 92d40b8
fix: rpi-compatible Docker images
ezhil56x 07361bb
fix: rpi-compatible Docker images
ezhil56x 08e044b
fix: rpi-compatible Docker images
ezhil56x d8cc1a4
fix: rpi-compatible Docker images
ezhil56x 73787f0
fix: rpi-compatible Docker images
ezhil56x e1c2526
fix: rpi-compatible Docker images
ezhil56x File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,10 @@ | ||
| FROM jrei/systemd-debian:11 | ||
| RUN apt update && apt install -y sudo wget procps curl systemd && rm -rf /var/lib/apt/lists/* | ||
|
|
||
| RUN useradd -m raspap | ||
| RUN usermod -aG sudo raspap | ||
|
|
||
| RUN apt update | ||
| RUN apt install nano | ||
|
|
||
| RUN echo "raspap ALL=(ALL) NOPASSWD:ALL" | EDITOR='tee -a' visudo |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,10 @@ | ||
| FROM jrei/systemd-debian:12 | ||
| RUN apt update && apt install -y sudo wget procps curl systemd && rm -rf /var/lib/apt/lists/* | ||
|
|
||
| RUN useradd -m raspap | ||
| RUN usermod -aG sudo raspap | ||
|
|
||
| RUN apt update | ||
| RUN apt install nano | ||
|
|
||
| RUN echo "raspap ALL=(ALL) NOPASSWD:ALL" | EDITOR='tee -a' visudo |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,14 +1,63 @@ | ||
|  | ||
|
|
||
|
|
||
| # raspap-docker | ||
|
|
||
| A community-led docker container for RaspAP | ||
|
|
||
| # Usage | ||
| ## Setting up using Docker | ||
|
|
||
| ### Debian 12 | ||
|
|
||
| 1. Start the container with `jrcichra/raspap-docker:bookworm` image | ||
|
|
||
| ``` | ||
| docker run --name raspap -it -d --privileged --network=host -v /sys/fs/cgroup:/sys/fs/cgroup:rw --cap-add SYS_ADMIN jrcichra/raspap-docker:bookworm | ||
| ``` | ||
|
|
||
| 2. Enter the container | ||
|
|
||
| ``` | ||
| 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 exec -it raspap bash | ||
| $ ./setup.sh | ||
| docker restart raspap | ||
| Web GUI should be accessible on http://localhost by default | ||
| ``` | ||
|
|
||
| 3. Change user to raspap | ||
|
|
||
| ``` | ||
| su raspap && cd ~ | ||
| ``` | ||
|
|
||
| 4. Run the script | ||
|
|
||
| ``` | ||
| curl -sL https://install.raspap.com | bash | ||
| ``` | ||
|
|
||
| 5. Web GUI should be accessible on [http://localhost](http://localhost) by default | ||
|
|
||
| ### Debian 11 | ||
|
|
||
| 1. Start the container with `jrcichra/raspap-docker:bullseye` image | ||
|
|
||
| ``` | ||
| docker run --name raspap -it -d --privileged --network=host -v /sys/fs/cgroup:/sys/fs/cgroup:rw --cap-add SYS_ADMIN jrcichra/raspap-docker:bullseye | ||
| ``` | ||
|
|
||
| 2. Enter the container | ||
|
|
||
| ``` | ||
| docker exec -it raspap bash | ||
| ``` | ||
|
|
||
| 3. Change user to raspap | ||
|
|
||
| ``` | ||
| su raspap && cd ~ | ||
| ``` | ||
|
|
||
| 4. Run the script | ||
|
|
||
| ``` | ||
| curl -sL https://install.raspap.com | bash | ||
| ``` | ||
|
|
||
| 5. Web GUI should be accessible on [http://localhost](http://localhost) by default | ||
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I believe this image would be out of date. The build pipeline is probably building an image on ghcr.io/raspap/raspap-docker, which would be preferable to my docker.io account.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@jrcichra Changed the image path