hostctl sync docker
doesn’t skip containers that do not have an IP address assigned
#93
Labels
bug
Something isn't working
Describe the bug
A clear and concise description of what the bug is.
Running
hostctl sync docker …
will add an entry to the hosts file that contains<nil>
for IP address of all containers that do not have one assigned.To Reproduce
Steps to reproduce the behavior:
hostctl sync docker <profile>
<nil> container.loc
Expected behavior
A clear and concise description of what you expected to happen.
A warning should be printed on the standard output that the named container does not have any IP addresses assigned, and no associated entry will be added to the hosts file.
Screenshots
If applicable, add screenshots to help explain your problem.
System (please complete the following information):
The text was updated successfully, but these errors were encountered: