aarch64 Support
arendtio opened this issue · 2 comments
Today, I wanted to use this image to set up an NFS server on my Raspberry Pi. However, I had to do some adjustments which I would like to share, so that they can be integrated or at least others can find them.
First, I didn't use this exact repo, but rather https://github.com/kevinxw/docker-nfs-server as it got more recent updates, but some issues might just be present in that updated version.
First, I had to learn that the build over at the docker hub has no support for aarch64, so I had to build it myself. When I did, the entrypoint.sh
script complained that capsh
wasn't available, so I added libcap
to the packages. Later I learned, that the loading of the nfsd
module failed, and adding kmod
to the packages fixed that.
In addition, I came across the issue described in #76 and fixed it similarly.
Today, I wanted to use this image to set up an NFS server on my Raspberry Pi. However, I had to do some adjustments which I would like to share, so that they can be integrated or at least others can find them.
First, I didn't use this exact repo, but rather https://github.com/kevinxw/docker-nfs-server as it got more recent updates, but some issues might just be present in that updated version.
First, I had to learn that the build over at the docker hub has no support for aarch64, so I had to build it myself. When I did, the
entrypoint.sh
script complained thatcapsh
wasn't available, so I addedlibcap
to the packages. Later I learned, that the loading of thenfsd
module failed, and addingkmod
to the packages fixed that.In addition, I came across the issue described in #76 and fixed it similarly.
Can you share your image for arm64?
@keunhuvac I have never shared an image before, so I would have to read up on how to do it. Sadly, I have other priorities at the moment. I documented the steps above, hoping @ehough would integrate the fixes in the original image.