summaryrefslogtreecommitdiff
path: root/docker/README
blob: d11694b111d73ce69b41757eaae0257b4f4b3108 (plain)
    1 Kernel Requirements
    2 ===================
    3 
    4 If you want to have a full working CRUX+Docker system you will need to rebuild your kernel various networking, cgroups and optional lvm options
    5 
    6 Please review the provided ``test_kernel_config.sh`` shell script carefully and use this to test your kernel configuration. This README does not document
    7 what these specific options are to vaoid duplication. They are listed instead in ``test_kernel_config.sh``.
    8 
    9 You may check your kernel configuration by running:
   10 
   11 ::
   12     
   13     ./test_kernel_config.sh /usr/src/linux/.config
   14          
   15 
   16 Execution Engines
   17 =================
   18 
   19 As of Docker 0.9+ execution engines are pluggable and as such Docker no longer depends on lxc.
   20 The new default execution driver is now an internal ``libcontainer`` driver that replaces the need for lxc.
   21 
   22 Please see the `Docker Documentation <http://docs.docker.io>`_ if you want to use a different execution engine other then the default.
   23 
   24 
   25 Storage Backends
   26 ================
   27 
   28 Docker comes with three main Storage Backends:
   29 
   30 - AUFS (*requires AUFS kernel/patches*)
   31 - devmapper
   32 - btrfs
   33 
   34 It is recommended you use the devmapper or btrfs backend (Default: devmapper).
   35 
   36 To use the ``btrfs`` backend edit ``/etc/docker.conf`` and modify the ``DOCKER_OPTS`` with:
   37 
   38 ::
   39     
   40     DOCKER_OPTS="-s btrfs"
   41     
   42 
   43 Docker Client
   44 =============
   45 
   46 Add yourself to the ``docker`` group if you wish to access the Docker daemon on localhost via UNIX Socker.

Generated by cgit