Home

Awesome

I2P in Docker

This is the Java I2P router in Docker.

Usage

docker run -v ~/.i2p:/var/lib/i2p -p 127.0.0.1:4444:4444 -p 127.0.0.1:6668:6668 -p 127.0.0.1:7657:7657 geti2p/i2p

Common problems

If you use Fedora or other selinux enabled OS and get mkdir: cannot create directory ā€˜/var/lib/i2p/.i2pā€™: Permission denied, try adding a :Z to your volume argument:

-v ~/.i2p:/var/lib/i2p:Z

As described in the docker documentation, this should set the selinux labels correctly.