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

make run:DockerException: Bind address needs a port: 127.0.0.1 #2

Open
rivenblades opened this issue Oct 17, 2019 · 0 comments
Open

Comments

@rivenblades
Copy link

I 'make build' it successfully.
When i do 'make run' it gives me this
docker-compose up Traceback (most recent call last): File "/usr/bin/docker-compose", line 11, in <module> load_entry_point('docker-compose==1.17.1', 'console_scripts', 'docker-compose')() File "/usr/lib/python2.7/dist-packages/compose/cli/main.py", line 68, in main command() File "/usr/lib/python2.7/dist-packages/compose/cli/main.py", line 118, in perform_command project = project_from_options('.', options) File "/usr/lib/python2.7/dist-packages/compose/cli/command.py", line 37, in project_from_options override_dir=options.get('--project-directory'), File "/usr/lib/python2.7/dist-packages/compose/cli/command.py", line 99, in get_project host=host, environment=environment File "/usr/lib/python2.7/dist-packages/compose/cli/command.py", line 71, in get_client environment=environment, tls_version=get_tls_version(environment) File "/usr/lib/python2.7/dist-packages/compose/cli/docker_client.py", line 95, in docker_client return APIClient(**kwargs) File "/usr/lib/python2.7/dist-packages/docker/api/client.py", line 109, in __init__ base_url, IS_WINDOWS_PLATFORM, tls=bool(tls) File "/usr/lib/python2.7/dist-packages/docker/utils/utils.py", line 373, in parse_host "Bind address needs a port: {0}".format(addr)) docker.errors.DockerException: Bind address needs a port: 127.0.0.1 Makefile:14: recipe for target 'run' failed make: *** [run] Error 1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant