Difference between revisions of "Docker"
From SME Server
Jump to navigationJump to searchm (→Installation) |
m (wip) |
||
Line 16: | Line 16: | ||
docker | docker | ||
to see the available command line options | to see the available command line options | ||
+ | |||
+ | ===Docker notes=== | ||
+ | Templated /etc/sysconfig/docker based on below db settings | ||
+ | |||
+ | /etc/sysconfig/docker: | ||
+ | -H tcp://127.0.0.1:4243 -H unix:///var/run/docker.sock | ||
+ | 127.0.0.1 (localhost) or 0.0.0.0 (public) based on db key shipyard Access | ||
+ | |||
+ | docker=service | ||
+ | access=public | ||
+ | status=enabled | ||
+ | |||
+ | ==Shipyard== | ||
+ | Loose notes: | ||
+ | shipyard=service | ||
+ | TCPPort=4243 | ||
+ | access=public | ||
+ | status=enabled | ||
+ | |||
+ | ===Shipyard agent=== | ||
+ | Loose notes | ||
+ | shipyard-agent=service | ||
+ | TCPPort=8000;4500 | ||
+ | access=public | ||
+ | status=enabled | ||
==Things to do== | ==Things to do== |
Revision as of 17:50, 6 September 2014
Placeholder for anything to do with Docker (https://docker.com)
See: http://forums.contribs.org/index.php?topic=51095.new#new
Installation
We will 'abuse' SME Server as a host for Docker for now. Once there is a basic SME Server image the it's time to setup a regular Centos box that will run docker and hosts many happy SME Server containers ;-)
- Enable the EPEL repository
yum install docker
yum install docker-io --enablerepo=epel service docker start
and then
docker
to see the available command line options
Docker notes
Templated /etc/sysconfig/docker based on below db settings
/etc/sysconfig/docker:
-H tcp://127.0.0.1:4243 -H unix:///var/run/docker.sock 127.0.0.1 (localhost) or 0.0.0.0 (public) based on db key shipyard Access
docker=service access=public status=enabled
Shipyard
Loose notes:
shipyard=service TCPPort=4243 access=public status=enabled
Shipyard agent
Loose notes
shipyard-agent=service TCPPort=8000;4500 access=public status=enabled
Things to do
- Create link to appropriate run level to auto start docker
- Get the shipyard GUI going
- A LOT more ;-)