Skip to content

Improve the docker configuration detection (localhost vs 0.0.0.0 vs etc). #23

Open
@karolh2000

Description

We need to improve the algorithm that detects if Pyrsia is already added/configured in the docker config. Right now the logic considers the localhost alternatives as independent but all of them should be equal so if any of them is detected in the docker configuration the command shouldn't suggest to update the configuration. The following hostnames should be consider "equal":

  • localhost
  • 0.0.0.0
  • 127.0.0.1
  • 0:0:0:0:0:0:0:1
  • ::1
  • the actual machine hostname

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    • Status

      Backlog

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions