- Docker EE 2.0
- 17.06.3-ee-8 Docker Enterprise Engine
- UCP 3.0.0
- DTR 2.5.0
Set up UCP and DTR per instructions found here: https://github.com/yongshin/vagrant-docker-ee-ubuntu.
engineering/docker-node-app
export DTR_IPADDR=dtr.local
git clone [email protected]:yongshin/docker-node-app.git
cd ~/docker-node-app
docker build -t $DTR_IPADDR/engineering/docker-node-app .
docker push $DTR_IPADDR/engineering/docker-node-app
The following stack command brings up two Swarm mode services and deploys it with Interlock enabled. Make sure you have the Routing Mesh enabled inside of UCP before deploying.
# Source client bundle
docker stack deploy -c deploy/swarm/docker-compose.yml nodeapp
# Source client bundle
kubectl apply -f deploy/k8s/nodeapp-demo.yaml
This removes the entire stack including services
docker stack rm nodeapp
This removes all of the K8S resources
kubectl delete -f deploy/k8s/nodeapp-demo.yaml
This does not utilize Interlock and mainly leverages the internal Swarm Routing Mesh.
docker build -t yongshin/docker-node-app .
docker stack deploy -c deploy/swarm/docker-compose-local.yml nodeapp