Files
Lazytainer/examples/zerotier/README.md
Morgan Patterson aa0de8a4e1 ReWork groups (#16)
* remove packet count testing subproject

* move examples

* delete docker ignore after file reorganization

* Notes for later me

* Update minecraft example

* README updates

* More readme updates

* change groups to group

* code comments

* remove notes to self

* remove ...

* fix zerotier example

* fix bad copypasta

* Readme updates

* fix indentation

* Create FUNDING.yml

---------

Co-authored-by: Morgan <morgan@pop-os.localdomain>
2023-02-01 01:33:57 -07:00

1.2 KiB

Using Lazytainer over ZeroTier

We'll be using the zerotier docker image by zyclonite in a docker compose configuration.

Copy docker-compose.yml from this folder into an empty directory of your choosing.

Then run docker compose up after you have set the values to your liking.

Connect to your ZeroTier network

Connect to your ZeroTier container:

docker exec -it zerotier /bin/sh

Then connect your container to the network

zerotier-cli join <yourZeroTierNetworkIDHere>

It should respond with 200 join OK - Then authorize it in the ZeroTier dashboard

Whilst we're here, we should get the interface to listen on so that Lazytainer works over ZeroTier

ifconfig

Copy the interface name that isn't eth0 or lo - Mine was ztukuxxqii

Then run exit to return back to your host's terminal

Secondary Configuration

Set INTERFACE in your configuration to the interface you got earlier

Then run docker compose up and Lazytainer should work as expected over ZeroTier.

If it works well for you, make sure to Ctrl+C to stop the containers and run docker compose up -d to run your configuration detached.