Difficulty: Beginner
Estimated Time: 10 minutes

Kontena is a developer friendly, open source platform for orchestrating applications that are run on Docker containers. It simplifies deploying and running containerized applications on any infrastructure. By leveraging technologies such as Docker, CoreOS and Weave, it provides complete solution for organizations of any size.

Use the playground to experiment with a Kontena cluster.

Don’t stop now! The next scenario will only take about 10 minutes to complete.

Kontena Playground

Deploy Master

docker-compose -f /opt/master.yml up -d

curl http://master

kontena master login --name server-name --code loginwiththiscodetomaster http://master

Deploy Grid

kontena grid create --initial-size=1 grid1

Deploy Agent

TOKEN=$(kontena grid show --token grid1) sed -i 's/master/[[HOST_IP]]/' /opt/node.yml sed -i "s|\$TOKEN|$TOKEN|" /opt/node.yml docker-compose -H tcp://agent01:2345 -f /opt/node.yml up -d

Deploy Wordpress

kontena app deploy

kontena app ls

kontena app logs wordpress

kontena app show wordpress

https://[[HOST2_SUBDOMAIN]]-80-[[KATACODA_HOST]].environments.katacoda.com/