From 781bef23863e79afcbe410a67cd80fa0266903b1 Mon Sep 17 00:00:00 2001 From: Mark Gurevich Date: Thu, 28 Apr 2016 09:27:24 -0400 Subject: [PATCH] Review comments fixed --- .../advanced/docker/lifecycle_management.rst | 47 ++++++++++--------- 1 file changed, 24 insertions(+), 23 deletions(-) diff --git a/docs/source/advanced/docker/lifecycle_management.rst b/docs/source/advanced/docker/lifecycle_management.rst index 7b9a17b8e..42d9c96ed 100644 --- a/docs/source/advanced/docker/lifecycle_management.rst +++ b/docs/source/advanced/docker/lifecycle_management.rst @@ -5,7 +5,27 @@ The Docker linux container technology is currently very popular. xCAT can help m This document describes how to use xCAT for docker management, from Docker Host setup to docker container operationis. -**Note:** The document was verified with **Docker Version 1.10, 1.11** and **Docker API version 1.22.** The Docker Host was verified on **ubuntu14.04.3 x86_64**, **ubuntu15.10 x86_64** and **ubuntu16.04 x86_64**. At the time of this writing (February 2016), docker host images are not available for **ppc64el** architecture from docker.org. You can follow instructions at the end of this page on how to manually download and install it. +**Note:** The document was verified with **Docker Version 1.10, 1.11** and **Docker API version 1.22.** The Docker Host was verified on **ubuntu14.04.3 x86_64**, **ubuntu15.10 x86_64** and **ubuntu16.04 x86_64**. At the time of this writing (February 2016), docker package is not available for **ppc64el** architecture from docker.org. You can follow instructions in the next section on how to manually download and install it. + +Download and configure docker host on ppc64el +-------------------------- + +Download docker engine for ppc64el +:: + + wget http://launchpadlibrarian.net/251622081/docker.io_1.10.3-0ubuntu4_ppc64el.deb -O /install/docker_ppc64el/docker.io_1.10.3-0ubuntu4_ppc64el.deb + +Follow instructions below for **x86_64** setup with the following exceptions: + +Docker host node definition **otherpkgdir** should be +:: + + otherpkgdir=/install/docker_ppc64el + +Contents of **otherpkglist** file should be +:: + + docker.io Setting up Docker Host ---------------------- @@ -94,11 +114,12 @@ After the dockerhost is ready, a docker instance can be managed through xCAT com dockernics=mynet0 groups=docker,all ip=10.0.120.1 + mac=02:42:0a:00:78:01 mgt=docker postbootscripts=otherpkgs postscripts=syslog,remoteshell,syncfiles -The command :doc:`mkdef ` or :doc:`chdef ` can be used to create a new docker instance node or change the node attributes. Specify any available unused ip address for *ip* attribute. +The command :doc:`mkdef ` or :doc:`chdef ` can be used to create a new docker instance node definition or change the node attributes. Specify any available unused ip address for *ip* attribute. *mac* attribute is optional and if left unset, will be filled in by *mkdocker* command. After docker instance node is defined, use command `makehosts host01c01` to add node *host01c01* and its IP address *10.0.120.1* into /etc/hosts. @@ -106,7 +127,7 @@ Create docker instance `````````````````````` :: - mkdocker image= [command=] [dockerflag=]] + mkdocker [image= [command=] [dockerflag=]] * node - The node object which represents the docker instance * image - The image name that the docker instance will use @@ -173,26 +194,6 @@ Check docker instance status rpower state -Download and configure docker host on ppc64el --------------------------- - -Download docker engine for ppc64el -:: - - wget http://launchpadlibrarian.net/251622081/docker.io_1.10.3-0ubuntu4_ppc64el.deb -O /install/docker_ppc64el/docker.io_1.10.3-0ubuntu4_ppc64el.deb - -Follow instructions above for **x86_64** setup with the following exceptions: - -Docker host node definition **otherpkgdir** should be -:: - - otherpkgdir=/install/docker_ppc64el - -Contents of **otherpkglist** file should be -:: - - docker.io - Troubleshooting --------------------------