{"action":"created","issue":{"url":"https://api.github.com/repos/databricks/mlflow/issues/109","repository_url":"https://api.github.com/repos/databricks/mlflow","labels_url":"https://api.github.com/repos/databricks/mlflow/issues/109/labels{/name}","comments_url":"https://api.github.com/repos/databricks/mlflow/issues/109/comments","events_url":"https://api.github.com/repos/databricks/mlflow/issues/109/events","html_url":"https://github.com/databricks/mlflow/issues/109","id":337385292,"node_id":"MDU6SXNzdWUzMzczODUyOTI=","number":109,"title":"Unable to see mlflow ui at http://127.0.0.1:5000 when mlflow is running in docker container","user":{"login":"datariders","id":36827708,"node_id":"MDQ6VXNlcjM2ODI3NzA4","avatar_url":"https://avatars3.githubusercontent.com/u/36827708?v=4","gravatar_id":"","url":"https://api.github.com/users/datariders","html_url":"https://github.com/datariders","followers_url":"https://api.github.com/users/datariders/followers","following_url":"https://api.github.com/users/datariders/following{/other_user}","gists_url":"https://api.github.com/users/datariders/gists{/gist_id}","starred_url":"https://api.github.com/users/datariders/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/datariders/subscriptions","organizations_url":"https://api.github.com/users/datariders/orgs","repos_url":"https://api.github.com/users/datariders/repos","events_url":"https://api.github.com/users/datariders/events{/privacy}","received_events_url":"https://api.github.com/users/datariders/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-07-02T06:28:48Z","updated_at":"2018-07-11T12:08:17Z","closed_at":null,"author_association":"NONE","body":"### System information\r\n- **Have I written custom code (as opposed to using a stock example script provided in MLflow)**:  No\r\n- **OS Platform and Distribution (e.g., Linux Ubuntu 16.04)**:  Docker container running in macOS Sierra 10.12.3\r\n- **MLflow installed from (source or binary)**:  Dockerfile\r\n- **MLflow version (run ``python -c \"from mlflow import version; print(version.VERSION)\"``)**:  0.2.1\r\n- **Python version**:   Python 3.6.5 :: Anaconda, Inc.\r\n- **npm version (if running the dev UI):  5.3.0\r\n- **Exact command to reproduce**:\r\n\r\nmlflow ui\r\n\r\n### Describe the problem\r\nDescribe the problem clearly here. Be sure to convey here why it's a bug in MLflow or a feature request.\r\n\r\nWe did a git clone of the mlflow repo and built a docker image from the Dockerfile.  We spun up a docker container from that image.  The container was up and running.  We mapped the port to the default 5000.  We tried opening a browser and reaching to \"http://127.0.0.1:5000/\".  Unfortunately, we still could not get the dashboard.\r\n\r\nNote:  I am conversant with dockers, kubernetes, etc.  Let me know how can help.\r\n\r\n### Source code / logs\r\nInclude any logs or source code that would be helpful to diagnose the problem. If including tracebacks,\r\nplease include the full traceback. Large logs and files should be attached.\r\nTry to provide a reproducible test case that is the bare minimum necessary to generate the problem.\r\n"},"comment":{"url":"https://api.github.com/repos/databricks/mlflow/issues/comments/404146077","html_url":"https://github.com/databricks/mlflow/issues/109#issuecomment-404146077","issue_url":"https://api.github.com/repos/databricks/mlflow/issues/109","id":404146077,"node_id":"MDEyOklzc3VlQ29tbWVudDQwNDE0NjA3Nw==","user":{"login":"Debdutto","id":4058848,"node_id":"MDQ6VXNlcjQwNTg4NDg=","avatar_url":"https://avatars3.githubusercontent.com/u/4058848?v=4","gravatar_id":"","url":"https://api.github.com/users/Debdutto","html_url":"https://github.com/Debdutto","followers_url":"https://api.github.com/users/Debdutto/followers","following_url":"https://api.github.com/users/Debdutto/following{/other_user}","gists_url":"https://api.github.com/users/Debdutto/gists{/gist_id}","starred_url":"https://api.github.com/users/Debdutto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Debdutto/subscriptions","organizations_url":"https://api.github.com/users/Debdutto/orgs","repos_url":"https://api.github.com/users/Debdutto/repos","events_url":"https://api.github.com/users/Debdutto/events{/privacy}","received_events_url":"https://api.github.com/users/Debdutto/received_events","type":"User","site_admin":false},"created_at":"2018-07-11T12:08:17Z","updated_at":"2018-07-11T12:08:17Z","author_association":"NONE","body":"@datariders I had the same issue. The problem here is gunicorn is binding to just 127.0.0.1 inside the container. The workaround is to pass host while starting your `mlflow ui`. Or you can also go into `/app/mlflow/utils/cli.py` and change the default host to `0.0.0.0`.\r\n\r\nI did this and was able to access the UI from chrome on my host using `localhost:5000` or `127.0.0.1:5000`\r\n\r\nLet me know if this works out for you."}}
{"actor":{"display_login":"Debdutto"}}