Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] ZeroTier not fully disabled #388

Open
LeonardoIz opened this issue Nov 11, 2024 · 3 comments
Open

[BUG] ZeroTier not fully disabled #388

LeonardoIz opened this issue Nov 11, 2024 · 3 comments
Labels
bug Something isn't working docker This issue related to docker version of zoraxy

Comments

@LeonardoIz
Copy link

Describe the bug
Even if zerotier is disabled, it is reported as Link Error, and it also automatically creates a volume in the container

To Reproduce
Create a container with the latest version and manually disable ZeroTier in the environment variables

Expected behavior
Appear as disabled, and do not create the volume automatically

Screenshots
image
image
image

Host Environment (please complete the following information):

  • Arch: amd64
  • OS: Ubuntu Server
  • Version 22.04
  • Docker Version: 3.1.2
@LeonardoIz LeonardoIz added the bug Something isn't working label Nov 11, 2024
@LeonardoIz LeonardoIz changed the title [BUG] [BUG] ZeroTier not fully disabled Nov 11, 2024
@PassiveLemon
Copy link
Collaborator

Could you report what is in the volume, if anything at all?

@tobychui tobychui added the docker This issue related to docker version of zoraxy label Nov 12, 2024
@LeonardoIz
Copy link
Author

It is empty
image

@PassiveLemon
Copy link
Collaborator

PassiveLemon commented Nov 12, 2024

The volume is created from the VOLUME instruction in the Dockerfile. If a host mount is not supplied at the same location as the volume, then Docker will create the volume. Unfortunately, we can't create a volume at runtime so the volume is either always created, or never created.

I think I could set up a symlink so that when ZeroTier is used, the data is stored in the Zoraxy volume. I'll look into it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working docker This issue related to docker version of zoraxy
Projects
None yet
Development

No branches or pull requests

3 participants