layout: doc title: “Get Started with Docker” permalink: /docs/deployment-in-docker.html

Another way to get started with Apache Eagle (called Eagle in the following) is to run with docker by one of following options:

  • Option-I: download eagle docker image and start with it.

    • Pull latest eagle docker image from docker hub directly:

      docker pull apacheeagle/sandbox
      
    • Then run eagle docker image:

      docker run -p 9099:9099 -p 8080:8080 -p 8744:8744 -p 2181:2181 -p 2888:2888 \
        -p 6667:6667 -p 60020:60020 -p 60030:60030 -p 60010:60010 -d --dns 127.0.0.1 \
        --entrypoint /usr/local/serf/bin/start-serf-agent.sh -e KEYCHAIN= \
        --env EAGLE_SERVER_HOST=sandbox.eagle.apache.org --name sandbox \
        -h sandbox.eagle.apache.org --privileged=true \
        apacheeagle/sandbox:latest --tag ambari-server=true
      docker run -it --rm -e EXPECTED_HOST_COUNT=1 -e BLUEPRINT=hdp-singlenode-eagle \
        --link sandbox:ambariserver --entrypoint /bin/sh apacheeagle/sandbox:latest \
        -c /tmp/install-cluster.sh
      
  • Option-II: Build eagle docker image from source code with eagle-docker tool.

    • Get latest source code of eagle.

      git clone https://github.com/apache/eagle.git
      
    • Then run eagle docker command.

      cd eagle && ./eagle-docker boot