Skip to content

scotty-c/ucp-dockercon

Repository files navigation

Docker UCP Demo DockerCon 16

Prerequisites:
- Vagrant
- Ruby

The architecture

This repo will build a three node UCP cluster. The base OS will be Ubuntu with a patched kernel to support the namespace for the native Docker network stack. On the first node we will install UCP, we will then deploy a consul container which we will use as the key/value store for the Docker network "swarm-private". The next two nodes will join the UCP cluster and set up all the tls for authentication. Then we will deploy the Jenkins 2.0 with Docker Compose using interlock as the entry point. Jenkins will then have a build job to deploy a demo web app. This will all be built with Puppet.

Grab a trial license key for Docker data centre and copy it into docker_subscription.lic

Run the environment

git clone https://github.com/scotty-c/ucp-demo.git && cd ucp-demo
vagrant up
echo "172.17.10.103 jenkins.ucp-demo.local">>/etc/hosts && echo "172.17.10.103 webapp.ucp-demo.local">>/etc/hosts 

Access to the UCP console

https://172.17.10.101

```
Username : admin
Password : orca

# Access to the Jenkins console
```
http://jenkins.ucp-demo.local/

username: admin
password: admin
```
# Access to the demo web app

http://webapp.ucp-demo.local/



About

This is a demo of Docker's UCP built with Puppet for DockerCon 16

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published