Table of Contents

4.7 Container

Return to DidoDLL

Purpose

Return to Top

Syntax

Return to Top

   DEFINE CONTAINER <ContaineName> AS
      IMAGE     = <ImageName>
      COMMAND   = <ShellCommand>
      ARGUMENTS = <ArgmentListText>

Where

Return to Top

Examples

Return to Top

| Examples of Defining Container in DidoLL
   DEFINE CONTAINER PeerDiscovery AS
      image     = PeerDiscovery
      command   = ["/bin/sh", "-c"]
      arguments = "set -e -x; while true; do python /etc/peer_discovery.py; "
                  "sleep 15; done";
 
    DEFINE CONTAINER fullNode AS
      image     = fullNode
      command   = ["/bin/sh", "-c"]
      arguments = "set -e -x; while true; do python /etc/peer_discovery.py; "
                  "sleep 15; done"