Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/peterupfold/archivebox-on-podman
Very messy and rough modification of ArchiveBox Docker conf for rootless Podman
https://github.com/peterupfold/archivebox-on-podman
Last synced: 5 days ago
JSON representation
Very messy and rough modification of ArchiveBox Docker conf for rootless Podman
- Host: GitHub
- URL: https://github.com/peterupfold/archivebox-on-podman
- Owner: PeterUpfold
- License: mit
- Created: 2022-01-30T19:46:57.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2023-05-27T21:31:10.000Z (over 1 year ago)
- Last Synced: 2024-11-08T09:51:04.618Z (about 2 months ago)
- Language: Dockerfile
- Size: 44.9 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# archivebox-on-podman
**This is a horrible quick hack to get ArchiveBox to build under rootless podman.** I am learning `podman`, including rootless, and I am almost certainly doing things wrong. You should not use this.
If you are content to use this messy approach, it is absolutely at your own risk.
podman run --user SOME_USER_ID --volume /path/to/archivebox/data:/data localhost/archivebox-on-podman server
## Permissions on `data` directory
Outside of containerland, ensure chowned to the rootless podman-running user.
Then:
podman unshare chown -R SOME_USER_ID:SOME_USERID /path/to/archivebox/data
## Adding new import
archivebox server
podman ps
podman run --rm -i --user SOME_USER_ID --volume /path/to/archivebox/data:/data localhost/archivebox-on-podman add < ~/somefile## Regular rebuild
Rebuild when a new critical fix in Chromium is released, as well as other dependent packages.
podman build --squash -t localhost/archivebox-on-podman .