Invalid docker ip address when running by cli
See original GitHub issueWhen starting eclipse che cli it’s trying to detect what user IP should be used by calling get_docker_host_ip. For docker 1.12.3 on mac this URL would be localhost.
Mentioned function: https://github.com/eclipse/che/blob/master/cli.sh#L285-L297
Urls returned:
INFO: ECLIPSE CHE: Use: http://192.168.65.2:8080
INFO: ECLIPSE CHE: API: http://192.168.65.2:8080/swagger
Valid urls
INFO: ECLIPSE CHE: Use: http://localhost:8080
INFO: ECLIPSE CHE: API: http://localhost:8080/swagger
Problem is most likely to be platform related (OSX and docker) This is really minor issue.
Reproduction Steps:
- run
che start
- Wait for command to execute
- Go to url provided in
INFO: ECLIPSE CHE: Use: http://192.168.65.2:8080
- Should finish with browser timeout
- Go to
http://localhost:8080
- it works
Che version: master (ebe8ed9fac8223fcafbdc1d08b1afe1fe8aeb446) OS and version: MacOs X El Capitan Docker version: Docker version 1.12.3, build 6b644ec Che install: [command line/source code]
Issue Analytics
- State:
- Created 7 years ago
- Comments:7 (7 by maintainers)
Top Results From Across the Web
Error response from daemon: invalid IP address in add-host ...
The feature itself is not yet in the Docker 19.03 (daemon); the PR removed the validation in the cli, delegating the validation to...
Read more >Windows docker runner error "invalid IP address in add-host"
I have a Windows EC2 instance in AWS, with Docker installed. I have two GitLab runners configured on this instance: a PowerShell runner ......
Read more >Invalid IP address in add-host: "" + Failed to program FILTER ...
I rebooted, Internet worked fine again, I tried to run docker-compose up again and I got the following output: WARNING: The DOCKERHOST variable ......
Read more >How can I run a docker container on localhost over the default ...
You can access from another host, or directly at the container's IP address. You don't need to map ports if you are directly...
Read more >Why does Docker define invalid IP address of service?
Ok, I have found the reason: I tested starting the services with different environment variables for db. And after that I shut the...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Is this the right logic?
It has been fixed in master