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

Permission denied error #8

Open
h4wwk3ye opened this issue Nov 20, 2023 · 1 comment
Open

Permission denied error #8

h4wwk3ye opened this issue Nov 20, 2023 · 1 comment

Comments

@h4wwk3ye
Copy link

Running the container using compose and getting the following error.

??:? [0xc25279730faf]
                     app INFO  2023-11-20T10:17:15.770 anisette-v3-server v2.1.0
                     app INFO  2023-11-20T10:17:15.776 Downloading libraries from Apple servers...
                     app INFO  2023-11-20T10:17:17.128 Done !
std.file.FileException@std/file.d(836): /home/Alcoholic/.config/anisette-v3/lib/libCoreADI.so: Permission denied

Docker compose

  anisette:
    image: dadoum/anisette-v3-server
    container_name: anisette
    ports:
      - '6970:6969'
    volumes:
      - '${DIR}/anisette:/home/Alcoholic/.config/anisette-v3/lib/'
    restart: ${RESTART_MODE}
@genericgod
Copy link

For anyone having this problem, you need to get the UID and GID of your docker user and add it to your run command like this:
docker run -d --restart always --name anisette-v3 -p 6969:6969 --volume anisette-v3_data:/home/Alcoholic/.config/anisette-v3/lib/ dadoum/anisette-v3-server --user UID:GID

or with compose:

anisette:
    image: dadoum/anisette-v3-server
    container_name: anisette
    ports:
      - '6970:6969'
    volumes:
      - '${DIR}/anisette:/home/Alcoholic/.config/anisette-v3/lib/'
    restart: ${RESTART_MODE}
    user: 'UID:GID'

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