Comments (7)
The general idea was that you would store your config directories on a docker mount and just update the entire image.
Thanks for tuning in! Updating the entire image is just what I did. My compose file is pretty much identical to the one from the docs, but for the sake of completeness (just adapted the paths I mount into the container slightly for public display), let me clarify:
version: "3.5"
services:
i2p:
container_name: i2p
restart: unless-stopped
image: geti2p/i2p:i2p-i2p-2.1.0
volumes:
- "config/i2p:/i2p/.i2p"
- "torrents:/i2psnark"
ports:
- 54321:12345
- 54321:12345/udp
- 4444:4444
- 4445:4445
- 7657:7657
With that Image, the onlyrouter.config
lives in /i2p/.i2p
like it used to be. When unpinning the version by changing the image tag to just image: geti2p/i2p
and updating with docker-compose pull
, I get the above issue where the service in the container expects to find the router.config
directly under /i2p
and gives me a file with merely three lines of content, listing only a few default port configurations.
from i2p.i2p.
Can we reopen this? It looks like that commit didn't solve the issue. If I use anything newer that geti2p/i2p:i2p-i2p-2.1.0 the webui is not available on 7657. Rolling back to 2.1.0 without changing anything in the config fixes the issue.
version: "3.5"
services:
i2p:
image: geti2p/i2p:i2p-i2p-2.1.0
ports:
- 4444:4444
- 7657:7657
- 4445:4445
- 6668:6668
- 54321:12345
- 54321:12345/udp
volumes:
- ./i2pconfig:/i2p/.i2p
- ./i2ptorrents:/i2psnark
environment:
- IP_ADDR=0.0.0.0
restart: unless-stopped
from i2p.i2p.
Reopening because people are still reporting it, not sure what's going on yet as it is working for me at the moment.
from i2p.i2p.
Please test using the latest checkin:
git clone https://github.com/i2p/i2p.i2p
cd i2p.i2p
docker build -t geti2p/i2p .
and run with:
version: "3.5"
services:
i2p:
image: geti2p/i2p
ports:
- 4444:4444
- 7657:7657
- 4445:4445
- 6668:6668
- 54321:12345
- 54321:12345/udp
volumes:
- ./i2pconfig:/i2p/.i2p
- ./i2ptorrents:/i2psnark
environment:
- IP_ADDR=0.0.0.0
restart: unless-stopped
from i2p.i2p.
I think the problem is in startapp.sh. Near the bottom, the variable JAVAOPTS is defined but then JAVA_OPTS is referenced. This causes the jar to be started without a i2p.dir.config set, and a bunch of configuration gets created at /root/.i2p instead of at /i2p/.i2p. A router.config gets created there instead, while other stuff still gets referenced in /i2p/.i2p.
When I go into the docker image and remove the underscore from JAVA_OPTS it works as expected.
from i2p.i2p.
Oops, here I am with the fix not checked in. That doesn't do anybody any good. Sorry guys about that, thanks @bedaro for calling my attention to it.
from i2p.i2p.
The latest image worked on my existing config without modification. I haven't tested with a clean slate though
from i2p.i2p.
Related Issues (20)
- Many sites not accessible with 2.3.0 docker image HOT 1
- slow
- miss click
- feature request auto download host list from jump sites HOT 2
- stack guard error
- org.apache.ant:ant Denial of Service (DoS) HOT 1
- multiable Hardcoded Secrets cve HOT 2
- 2 uses of risky/ broken cryptograhic alogrithm CVE HOT 3
- multiable SSRF server side request forgery CVE HOT 1
- 4 open redirects CVE HOT 2
- Inadequate Encryption Strength CVE multiables HOT 2
- multiable Use of Password Hash With Insufficient Computational Effort :CVE
- can i have perms to allow pull requests etc HOT 1
- Use of Hardcoded, Security-relevant Constants HOT 1
- Observable Timing Discrepancy (Timing Attack) HOT 2
- Use of Hardcoded Credentials HOT 1
- Improper Neutralization of CRLF Sequences in HTTP Headers HOT 1
- Improper Neutralization of CRLF Sequences in HTTP Headers number 2
- fresh install with split-config breaks the addressbook HOT 3
- https://deb.i2p2.de not responding HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from i2p.i2p.