usage 1.1 KB

1234567891011121314151617181920212223242526272829303132333435
  1. Usage:
  2. dm [-a] <action> [-n] <name> [-p] <param>
  3. dm <action> <action> <param>
  4. -h or --help Help
  5. -a or --action Action name
  6. -n or --name The Action name in the configuration file
  7. -p or --param Execution parameters are generally judged by actions
  8. <action>list:
  9. use default:docker,value:docker|php
  10. set default:shemic,value:shemic|hub|aliyun
  11. up Update the DM code
  12. <dm use docker><action>list:
  13. show Displays the docker container that is currently started
  14. showi Displays the current docker mirror
  15. rm Remove an exception or docker container that has not been started
  16. rmi Delete expired docker images
  17. <dm use docker><action>+<name>list:
  18. run Run the container
  19. stop Stop the container
  20. create Create the container
  21. call Run the container, run only once
  22. up Run the container and update the docker mirror
  23. rm Remove the running docker container
  24. save Save or backup the running docker container
  25. load Restores and re run the docker container that is saved or backed up
  26. Example:
  27. dm -a run -n web-php
  28. dm run web-php
  29. dm -a call -n tool-apidoc -p input=demo^out=output
  30. dm call tool apidoc input=demo^out=output
  31. [DM is a small docker choreography tool]