Changes

Jump to navigation Jump to search
606 bytes added ,  09:55, 16 September 2014
m
no edit summary
Line 21: Line 21:  
==Resources==
 
==Resources==
 
Possible resources and tools that can be used:
 
Possible resources and tools that can be used:
* CPAN perl library for managing images and containers
+
 
 +
===Eixo::Docker perl library===
 +
a CPAN perl library for managing images and containers
 
  http://search.cpan.org/~alambike/Eixo-Docker-1.103/lib/Eixo/Docker.pod
 
  http://search.cpan.org/~alambike/Eixo-Docker-1.103/lib/Eixo/Docker.pod
    +
The Eixo library interacts with Docker API via a TCP socket. By default Docker starts without a TCP socket attached, so we have to add it to the Docker service arguments in /etc/sysconfig/docker. The default port via which the Docker API communicates is 4243 but it can be any port. Below is an example /etc/sysconfig/docker file:
 +
# /etc/sysconfig/docker## Other arguments to pass to the docker daemon process# These will be parsed by the sysv initscript and appended# to the arguments list passed to docker -dother_args="-g /home/e-smith/files/docker-H 127.0.0.1:4243 -d"
    
==Options==
 
==Options==

Navigation menu