Public | Automated Build

Last pushed: a year ago
Short Description
Pangea Ambari & Consul & custom stacks (MANTL & Kubernetes) container
Full Description

Docker container with Ambari & Consul & Pangea stacks (MANTL & Kubernetes)

All nodes network addresses always MUST be set in net range

In order to run:

sudo yum -y install docker
sudo service docker start
sudo docker pull ciscocloud/pangea-ambari

sudo cat /etc/hosts > /tmp/hosts
sudo sed -i '/\' /tmp/hosts
sudo echo "$(hostname -I | awk '{print $1}') $(hostname -f) $(hostname -a)" >> /tmp/hosts
sudo cp /tmp/hosts /etc/hosts

sudo echo -e "search node.consul\nnameserver" > /tmp/resolv.conf && \
    sudo cp /tmp/resolv.conf /etc/resolv.conf && \
    sudo service docker restart

sudo docker run --net=host --privileged -d \
    -v /sys/fs/cgroup:/sys/fs/cgroup:ro \
    -v /var/lib/ambari-server/resources/kubernetes:/var/lib/ambari-server/resources/kubernetes \
    -p 8080:8080 -p 6181:6181 -p 53:53 -p 8300:8300 -p 8301:8301 -p 8302:8302 -p 8400:8400 -p 8500:8500 \
Docker Pull Command
Source Repository

Comments (0)