Public | Automated Build

Last pushed: 2 years 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 192.168.0.0/24

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 '/.cisco.com/c\' /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 127.0.0.1" > /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 \
    ciscocloud/pangea-ambari
Docker Pull Command
Owner
ciscocloud
Source Repository