-
|
I'm very new to Freenet. I want to try it, but I'd prefer running it in Docker rather than installing it directly on my computer (at least at the start). I saw that you have a Docker directory with some resources, but do you have any official prebuilt Docker images that I can use? |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 8 replies
-
|
We don't currently. Creating a docker image is on my to-do list, the encapsulation would be very nice, but one challenge is that while we're in alpha testing it's important that peers update immediately when there is a new version - and seemed like that might be awkward. Still, a lot of people are asking for it so I may prioritize. |
Beta Was this translation helpful? Give feedback.
-
|
I have Freenet running with Docker on Windows with WSL2. See attached yaml file. The update mechanism works too. Not battle tested. But it works mostly. At first I installed Freenet during the build process. But that turned out to be unnecessary and just causing problems. So now the image is just an empty Alpine linux. The install & update process is pretty simple: With "restart:" the container is restarted, it checks again, and if the installed version is the newest on Github it just runs the Freenet that's already installed . Once Freenet realizes there is a new version available, it exits. The container exits. And it starts again. On Windows with WSL2 NAT hole punching is currently an unsolvable problem. Because even with network_mode:host you still have a double NAT between Windows host and container. To check NAT hole punching run ./punch-check On top of the .yml file is a lot of info. It's work in progress of course. If you need .bat files for one click building, updating an running, I can post them too. On Windows I get better results with VirtualBox. Can post a step by step install.txt if you need. This yaml is just tested with Windows. But there should be less problems with Linux. The Dockerfile is inside the .yml. So all you have to do is |
Beta Was this translation helpful? Give feedback.
-
|
I can't attach newest docker-compose.yml |
Beta Was this translation helpful? Give feedback.
-
|
continued here |
Beta Was this translation helpful? Give feedback.
continued here
#3026