Mano Marks

#SwarmWeek: Advanced Orchestration with Docker Swarm

Jérôme Petazzoni, Docker’s tinkerer extraordinaire, has been running full day on container orchestration with the full Docker stack. The whole workshop uses a demo application using DockerCoin (not a real currency, he tells us). It’s got with web frontends, web services, background workers, and stateful data stores. This is all to give you the experience of running a full scale app in production.

You can check out the slides for the full workshop, and his code for the app.

jpetazzoCheck out the video below, in which Jérôme excerpts 15 minutes from the workshop. In this video, he covers

  • Deploying an application described by a Docker Compose file seamlessly to a Swarm cluster
  • Adding load balancers to our application and scale it through the Compose CLI
  • Manage the app using Swarm

If you have multiple screens you can even follow along and run through the exercise yourself while watching Jérôme. You’ll not only be able to deploy onto your cluster but then mimic real world operations tasks like scaling a single service and even load balance scaled services in Docker. We hope you enjoy this tutorial – and follow Jerome on Twitter to see where he travels next to reserve a seat at his next in person workshop.


Don’t forget to participate in our DockerCon ticket raffle! Share a picture or description of your Swarm with us on Twitter and tag @docker and #SwarmWeek for a chance to win a free ticket to DockerCon 2016 on June 19-21 in Seattle, WA.

Here are some additional resources on Docker Swarm:


 

Learn More about Docker

, , , , , ,

Mano Marks

#SwarmWeek: Advanced Orchestration with Docker Swarm


4 Responses to “#SwarmWeek: Advanced Orchestration with Docker Swarm”

  1. Everett Toews

    The links for “slides for the full workshop” and “his code for the app” are a bit mangled. They should link to http://view.dckr.info:8080/ and https://github.com/jpetazzo/orchestration-workshop

    Reply
  2. Pierre Caserta

    I am having a problem when running `docker-compose scale worker=10`
    I get:
    ERROR: for 2 Unable to find a node that satisfies the following conditions
    [–link=dockercoins_hasher_1:dockercoins_hasher_1 –link=dockercoins_hasher_1:hasher –link=dockercoins_hasher_1:hasher_1 –link=dockercoins_redis_1:dockercoins_redis_1 –link=dockercoins_redis_1:redis —
    link=dockercoins_redis_1:redis_1 –link=dockercoins_rng_1:dockercoins_rng_1 –link=dockercoins_rng_1:rng –link=dockercoins_rng_1:rng_1]
    ERROR: for 3 Unable to find a node that satisfies the following conditions

    I say on your log that you have a registry service sets up. Is this necessary for the application to run properly?

    Reply
    • Pierre Caserta

      That's ok. I needed to connect to each machine and do docker-compose build on each of them.

      Thanks for the demo.
      This is the best I saw on Docker so far.
      Keep up the good work.

      Reply

Leave a Reply to Everett Toews

Click here to cancel reply.

Get the Latest Docker News by Email

Docker Weekly is a newsletter with the latest content on Docker and the agenda for the upcoming weeks.