User Tools

Site Tools


Sidebar

Welcome to DIDO WIKI

dido:public:s_cli:05_contents:01_prt:04_dll:appcontainer

4.7 Container

Purpose

Syntax

Return to Top

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

Where

Return to Top

  • ContaineName
  • ImageName
  • ShellCommand
  • ArgmentListText

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"
dido/public/s_cli/05_contents/01_prt/04_dll/appcontainer.txt · Last modified: 2021/06/15 13:55 by nick
Translations of this page: