Uploaded image for project: 'CDAP'
  1. CDAP
  2. CDAP-2854

Instructions for using Docker are inaccurate

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.0.1
    • Fix Version/s: 3.1.0
    • Component/s: Docs
    • Labels:
    • Rank:
      1|hzyv3z:

      Description

      I am trying to follow the instructions at http://docs.cask.co/cdap/current/en/developers-manual/getting-started/standalone/docker.html. There is states that:

      Once CDAP starts, it will instruct you to connect to the CDAP UI with a web browser at http://<virtual-hostname>:9999, such as http://6f0162922c37:9999. Replace <virtual-hostname> with the Docker VM’s IP address you obtained earlier. Start a browser and enter the address to access the CDAP UI.

      This is not accurate. For me, it prints:

      Starting Standalone CDAP ...........................
      Standalone CDAP started successfully.
      Connect to the CDAP UI at http://localhost:9999
      

      Replacing `localhost` with the docker ip still works.
      Another thing that works is:

      VBoxManage controlvm boot2docker-vm natpf1 "name,tcp,127.0.0.1,9999,,9999"
      

      and then I can connect to localhost:9999. Not sure whether we want to document that.

        Attachments

          Activity

            People

            • Assignee:
              John John Jackson
              Reporter:
              andreas Andreas Neumann
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: