droath/robo-docker-sync

Docker sync for Robo Task Runner

0.0.1 2017-03-16 01:37 UTC

README

Run docker sync commands from the Robo task runner.

Prerequisites

Install docker-sync gem using the installation guide on the GitHub project wiki.

Getting Started

First, you'll need to download the robo docker sync library using composer:

composer require droath/robo-docker-sync:~0.0.1

Example

<?php

    // Run docker-sync in background.
    $this->taskDockerSyncStart()
        ->daemon()
        ->run();

     // Stop docker-sync from running.
    $this->taskDockerSyncStop()
        ->run();

Support

The following commands have been implemented:

  • docker-sync
  • docker-sync-stack
  • docker-sync-daemon