2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-06-11 15:50:11 +00:00
Files
xcat-core/source/developers/mini-design/2.11/docker.rst
WangXiaoPeng 16b23e6d6a Add a table
2015-07-17 04:23:14 -04:00

50 lines
846 B
ReStructuredText

Mini-design for Docker Support
==============================
Overview
--------
Docker technology is very hot recently, xCAT plans to support it as a way to deploy applictions.
Interface
---------
General Command Line
^^^^^^^^^^^^^^^^^^^^
Will add several new commands to support docker.
* docker create
* Create Only
* Start after creating
* docker stop
Stop the docker container
* docker remove
Rest API
^^^^^^^^
Add xCAT Rest API to support docker.
* docker create
URI - /xcatws/<node>/start
::
#curl
#wget
Add a Table
^^^^^^^^^^^
+-----------+------------+-------------+
|Operation |Params |Result |
+===========+============+=============+
|GET |node |on/off |
+-----------+------------+-------------+
|PUT |node |on/off |
+-----------+------------+-------------+