Skip to content
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

Docker improvement #39

Open
KOPACb opened this issue Oct 27, 2020 · 1 comment
Open

Docker improvement #39

KOPACb opened this issue Oct 27, 2020 · 1 comment

Comments

@KOPACb
Copy link
Contributor

KOPACb commented Oct 27, 2020

About docker.

When you create user inside docker container it is good to determine UID and GID
Like

RUN groupadd -r -g 5055 raccoon && useradd -r -u 5055 -g raccoon raccoon
USER raccoon
ENTRYPOINT ["raccoon"]

and then you can run it like

mkdir -p /srv/raccoon/
chown -R 5055:5055 /srv/raccoon/
docker run --rm --name raccoon -v /srv/raccoon:/home/raccoon evyatarmeged/raccoon:latest  example.com -o /home/raccoon

Also you can connect autobuild on docker hub.
like
image

@evyatarmeged
Copy link
Owner

Hey,
Thank you for the suggestion. If you want to, you can open a PR and I'll review it and approve 🦝

KOPACb added a commit to KOPACb/Raccoon that referenced this issue Jun 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants