Difficulty: Intermediate
Estimated Time: 10 minutes

Updating Docker containers with Ouroboros

In this tutorial we'll setup Ouroboros to update our running Docker containers.

Steps

  • Set up Ouroboros
  • Configure Docker compose for Ouroboros
  • Integrate Ouroboros with Slack for container updates notifications
  • Profit

Pre-requisites

  • Let's configure Slack webhooks
    • Keep the tokens. You'll need them in Step 5.
    • Read this for more details

Aaaaanddd... You're done :)

If you have any difficulties during this class leave a comment over at my blog for this tutorial

Ouroboros

Step 1 of 5

Setting Up

To work with Ouroboros we need to first configure Docker and Docker-compose

However, in this environment we already have Docker and Docker-compose installed.

Now, we need to understand how to setup Ouroboros.

Let's look at the options:

  • Run via Docker CLI
    docker run -d --name ouroboros -v /var/run/docker.sock:/var/run/docker.sock pyouroboros/ouroboros
  • Install via Python Pip
    pip install ouroboros-cli

  • Use Docker-compose

We'll explore the Docker-compose option.

We'll setup a docker-compose.yml file that we'll use to start up Ouroboros.