User Tools

Site Tools


Sidebar

Welcome to DIDO WIKI

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

This is an old revision of the document!


4.7 DEFINE CONTAINER Command

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.1623724801.txt.gz · Last modified: 2021/06/14 22:40 by nick
Translations of this page: