Created
June 12, 2019 17:27
-
-
Save jfeilbach/a7ad56729f290097d4bdca3a87b54922 to your computer and use it in GitHub Desktop.
docker template for zerotier
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0"?> | |
<Container version="2"> | |
<Name>ZeroTier</Name> | |
<Repository>spikhalskiy/zerotier</Repository> | |
<Registry>https://registry.hub.docker.com/u/spikhalskiy/zerotier/</Registry> | |
<Network>host</Network> | |
<MyIP/> | |
<Privileged>true</Privileged> | |
<Support>https://lime-technology.com/forums/topic/72030-support-spikhalskiy-zerotier/</Support> | |
<Project/> | |
<Overview>
 | |
Zerotier is an open source, cross-platform virtual LAN / VPN. [br]
 | |
It allows remote access to devices as if they all reside in the same local network. [br]
 | |
All traffic is encrypted end-to-end and takes the most direct path available for minimum latency and maximum performance, using VPN-like connections. [br]
 | |
After setting up Zerotier on unRaid and any other devices - a VPN connection will be set up and all connected devices will be available like they are in the same network. [br]
 | |
SMB shares, TimeMachine will be autodetected and UIs will be available on regular hostnames and ports.
 | |
</Overview> | |
<Category>Network:DNS Network:Management Network:Other</Category> | |
<WebUI/> | |
<TemplateURL/> | |
<Icon>https://raw.githubusercontent.com/Spikhalskiy/docker-templates/master/images/zerotier_ico.png</Icon> | |
<ExtraParams>--device=/dev/net/tun --cap-add=NET_ADMIN --cap-add=SYS_ADMIN</ExtraParams> | |
<PostArgs/> | |
<DateInstalled>1560360315</DateInstalled> | |
<DonateText/> | |
<DonateLink/> | |
<Description>
 | |
Zerotier is an open source, cross-platform virtual LAN / VPN. [br]
 | |
It allows remote access to devices as if they all reside in the same local network. [br]
 | |
All traffic is encrypted end-to-end and takes the most direct path available for minimum latency and maximum performance, using VPN-like connections. [br]
 | |
After setting up Zerotier on unRaid and any other devices - a VPN connection will be set up and all connected devices will be available like they are in the same network. [br]
 | |
SMB shares, TimeMachine will be autodetected and UIs will be available on regular hostnames and ports.
 | |
</Description> | |
<Networking> | |
<Mode>host</Mode> | |
<Publish/> | |
</Networking> | |
<Data> | |
<Volume> | |
<HostDir>/mnt/user/appdata/zerotier/zerotier-one</HostDir> | |
<ContainerDir>/var/lib/zerotier-one</ContainerDir> | |
<Mode>rw</Mode> | |
</Volume> | |
</Data> | |
<Environment> | |
<Variable> | |
<Value></Value> | |
<Name>NETWORK_ID</Name> | |
<Mode/> | |
</Variable> | |
</Environment> | |
<Labels/> | |
<Config Name="Network ID" Target="NETWORK_ID" Default="" Mode="" Description="Network ID of ZeroTier network to join, could be find on page: https://my.zerotier.com/network" Type="Variable" Display="always-hide" Required="true" Mask="false">a84ac5c10a2a05c0</Config> | |
<Config Name="Config Directory" Target="/var/lib/zerotier-one" Default="/mnt/user/appdata/zerotier/zerotier-one" Mode="rw" Description="Path to persist ZeroTier state across restarts of the container. If you don't bind this ZeroTier will generate a new identity every time." Type="Path" Display="advanced-hide" Required="true" Mask="false">/mnt/user/appdata/zerotier/zerotier-one</Config> | |
</Container> | |
/usr/local/emhttp/plugins/dynamix.docker.manager/scripts/docker create --name='ZeroTier' --net='host' --privileged=true -e TZ="America/Denver" -e HOST_OS="unRAID" -e 'NETWORK_ID'='' -v '/mnt/user/appdata/zerotier/zerotier-one':'/var/lib/zerotier-one':'rw' --device=/dev/net/tun --cap-add=NET_ADMIN --cap-add=SYS_ADMIN 'spikhalskiy/zerotier' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment