Replies: 6 comments 14 replies
-
|
Hi Kanadork, Thanks for looking into trackfs. Let me first warn you: I have no experience with the arm platform or docker images on any platform other than amd64. So please take this response with a grain of salt: From browsing some information I see at least no obvious reason why trackfs should not work on armv8. For docker the base image is python-alpine and there exists a corresponding arm64v8 base image. So the basics should be there as long as the underlying OS has fuse support. In addition to docker we would have to look into the trackfs python package and its dependencies. Also there I have no experience with the arm platform. But it should be relatively straight forward to test this with the Dockerfile.dev that I use for local development. And once it works there I can figure out how to publish for the arm platform on pypi. Unfortunately I have no arm64v8 device available to test this by myself. Let me know if you have time to run a few basic tests with me, and then we'll see how far we get and what we learn from it. |
Beta Was this translation helpful? Give feedback.
-
|
I would be happy to run some tests on my system in order to help out! I have a python 2.7 package installed already as a dependency for another (containerized) app that I'm running. I could see about setting up the arm64v8/python container that you linked and let you know if I run into any new obstacles. |
Beta Was this translation helpful? Give feedback.
-
|
Ok. Let's first try if you can build trackfs on your machine. For that you would have to clone/download the trackfs repository in a directory on your NAS and then modify the file Dockerfile.dev:
in tools.sh replace in line 35: Then try to build the development environment from commandline with: With that we see that all binary dependencies of trackfs are supported on the arm64v8 platform. Then we can look into the python dependencies. For this we launch the dev environment. This uses nearly the same arguments as trackfs, you only need to set in addition the mount point /work to the trackfs root directory, e.g. If everything works (which implies that also all python dependencies are available) you should get a bash prompt inside the container. There you can start trackfs with the command Once we get at this point, I could see how to setup officially support to arm docker packages. Curious to see you far you can get without major problems. |
Beta Was this translation helpful? Give feedback.
-
|
Thank you for these instructions. I made the code changes and then ran the I guess the nektos/act package also does not support arm64... :( |
Beta Was this translation helpful? Give feedback.
-
|
Hi @andresch, sorry for the delay in getting back to you. I had to carefully retrace my steps in order to make sure I was inputting the correct commands into the container' vs system terminal. I remade the container and created the I am able to browse the contents of I'm not sure what this output means, does it look like the container folder |
Beta Was this translation helpful? Give feedback.
-
|
Further update from me regarding usage with Jellyfin... |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi all. I am a beginner with configuring Docker containers. So far my experience is mostly with installing them and making minor tweaks using Portainer on my home NAS. I saw your post on the Jellyfin website and I love the idea of trackfs, however my NAS is arm64-based and when I follow the instructions to setup the trackfs container, I run into this:
I have done some searching and there seems to be various different approaches for adapting a container to a different platform, some simple and others very complicated. I am wondering if rewriting for a different platform is even possible with trackfs... and is this worth it for a beginner to try?
Beta Was this translation helpful? Give feedback.
All reactions