Dadoum / Provision

Set of tools interracting with Apple servers. Don't hesitate to leave a star if you appreciate it.
517 stars 3.16k forks source link

Cannot create libraries folder folder. Hopefully everything still works. (Docker?) #59

Closed Practicalbutterfly5 closed 1 year ago

Practicalbutterfly5 commented 1 year ago

Recently I have started getting this error when making new containers.

Also the container will keep restarting, and keep pulling libraries from apple server unless the container is stopped.


~# docker run -d -v lib_cache:/opt/lib/ --restart=always -p 6969:6969 --name anisette dadoum/anisette-server:latest
cb8b027af1531f5b0e5fa7ba395d732268f855d2da27fe670416af199e15150b

~# docker logs anisette
Downloading libraries fromstd.file.FileException@std/file.d(836): lib/x86_64/libCoreADI.so: No such file or directory
----------------
??:? [0x558fb4257f46]
??:? [0x558fb425a3d6]
??:? [0x558fb4239e0f]
??:? [0x558fb4200a2a]
??:? [0x558fb416c49d]
??:? [0x558fb4239afb]
??:? [0x558fb42399f5]
??:? [0x558fb423984d]
??:? [0x7febb3663189]
??:? __libc_start_main [0x7febb3663244]
??:? [0x558fb416baf0]
Downloading libraries from Apple servers... done!         
Cannot create libraries folder folder. Hopefully everything still works. (Docker?)

ubuntu 22.04 amd64 Docker version 20.10.21, build 20.10.21-0ubuntu1~22.04.2

Dadoum commented 1 year ago

I am aware of that issue, this is happening with official docker when you use -v lib_cache:/opt/lib/.

I will fix this soon (probably at the end of the week) but in the meantime here are two workarounds:

And since you are on the latest Ubuntu LTS, you can even use the prebuilt anisette-server build (in the Actions tab on the repo) and run it directly.