====== 4.7 Container ====== [[dido:public:s_cli:05_contents:01_prt:04_dll:start| Return to DidoDLL]] ===== Purpose ===== [[dido:public:s_cli:05_contents:01_prt:04_dll:appcontainer| Return to Top]] ===== Syntax ===== [[dido:public:s_cli:05_contents:01_prt:04_dll:appcontainer| Return to Top]] DEFINE CONTAINER AS IMAGE = COMMAND = ARGUMENTS = ==== Where ==== [[dido:public:s_cli:05_contents:01_prt:04_dll:appcontainer| Return to Top]] * **ContaineName** * **ImageName** * **ShellCommand** * **ArgmentListText** ==== Examples ==== [[dido:public:s_cli:05_contents:01_prt:04_dll:appcontainer| 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" /**=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- /* To add a discussion page to this page, comment out the line that says ~~DISCUSSION:off~~ */ ~~DISCUSSION:on|Outstanding Issues~~ ~~DISCUSSION:off~~