Docker improvement
KOPACb opened this issue · 1 comments
KOPACb commented
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
evyatarmeged commented
Hey,
Thank you for the suggestion. If you want to, you can open a PR and I'll review it and approve 🦝