-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
readme: Add Docker readme and rename module to kernelcollector
- Loading branch information
Showing
9 changed files
with
30 additions
and
6 deletions.
There are no files selected for viewing
This file contains 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 contains 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 |
---|---|---|
|
@@ -102,3 +102,27 @@ And that's all there's to it! You might want to publish your GPG keys to a key s | |
``` | ||
gpg --keyserver keyserver.ubuntu.com --send-keys ABCDEFGH | ||
``` | ||
|
||
|
||
## Docker Guide | ||
|
||
KernelCollector can be ran using Docker. First, build the image. | ||
|
||
``` | ||
git clone [email protected]:darktohka/KernelCollector . | ||
docker build . -t kernelcollector | ||
``` | ||
|
||
To run the image straight from Docker Hub, pull the image from there instead. | ||
|
||
``` | ||
docker pull darktohka/kernelcollector:latest | ||
``` | ||
|
||
Next, run the image inside a container. Make sure to mount your GPG directory: | ||
|
||
``` | ||
chown 423:423 settings.json cache.json | ||
chown -R 423:423 packages | ||
docker run -d --name kernelcollector -v "$(pwd)/cache.json:/srv/cache.json" -v "$(pwd)/settings.json:/srv/settings.json" -v "$(pwd)/packages:/srv/packages" -v "$HOME/.gnupg:/home/kernelcollector/.gnupg" kernelcollector | ||
``` |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains 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