Closed AnderssonPeter closed 6 years ago
Hey. It looks like confd is causing this issue. Also, you are specifying a SHARED_DIRECTORY of /share but mounting in /data/share which won't help. Also note there is no need to expose port 111 for either TCP or UDP, or port 2049 for UDP (it'll only work over TCP).
I'm in the usual position where I can't test this in any way. What I will do (which I need to do anyway as there is an apk bug in Alpine v3.7) is rebuild the x86 and arm images tonight with Alpine v3.8 if possible. This will also make use of the multistage build changes introduced recently which might help.
Ultimately though it'll be luck if this helps. What might be better is if I ditch confd entirely and switch to using sed/awk to build the exports file. This will remove the need for the multi-stage build and make the image much smaller. I'll give that some thought.
Thanks for your fast reply!
- /data/share:ro
was a typo it was supposed to be - /home/peter:/share:ro
, and that is what i was running with.
So that's not the issue.
If you get the time to create a updated docker image please give me a shout out and ill check if your changes work or not!
FYI, I've got to this and the work is in branch byebyeconfd - hope to be done soon.
It seems to work! Thanks for your hard work!
Great to hear. You're welcome.
I've just been testing and the SYNC and READONLY options were not working, I've fixed it but need to do a few more things before I push. Should be done tomorrow.
All done, merged into master and Docker Hub images updated.
A bit of confusion here on my part: I have the same issue on my raspi3b. I don't see any updates to the arm branch, and no recent updates on Docker hub. Has this been updated for the arm branch already?
You're right, I seem to have not pushed an updated image. I'll do so soon. Thanks for your patience.
I needed to do some work on the arm branch which is now done but I'm currently unable to build due to some issues connecting to my rpi. May take a few days to fix (work etc.) but in the meantime feel free to build yourself from the arm branch which now has all the changes around removing Confd.
It built!
Just for documentation, I'm running my setup on a balena.io instance on my Raspberry Pi 3b. For this reason, I cannot use the Alpine image (it doesn't build under the right arch), so I had to change the FROM alpine:latest
to FROM balenalib/armv7hf-alpine-python
just to get a pre-built Alpine image. I assume it would build just fine on the standard alpine image as well. Everything ran smoothly, and I'm now sharing my network-attached storage. Thanks!
Excellent, thanks for the info, might be useful for others.
Hi im trying to use this container using docker-compose
using the same setup on a pi3 works.
log:
im using hypriot os on both units, the pi zero is using a somewhat older version.