4.7 DEFINE CONTAINER Command

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

ContaineNameImageNameShellCommandArgmentListText

Examples

Return to Top

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"