github.com/feiyang21687/docker@v1.5.0/docs/sources/installation/cruxlinux.md (about)

     1  page_title: Installation on CRUX Linux
     2  page_description: Docker installation on CRUX Linux.
     3  page_keywords: crux linux, virtualization, Docker, documentation, installation
     4  
     5  # CRUX Linux
     6  
     7  Installing on CRUX Linux can be handled via the contrib ports from
     8  [James Mills](http://prologic.shortcircuit.net.au/) and are included in the
     9  official [contrib](http://crux.nu/portdb/?a=repo&q=contrib) ports:
    10  
    11  - docker
    12  
    13  The `docker` port will build and install the latest tagged version of Docker.
    14  
    15  
    16  ## Installation
    17  
    18  Assuming you have contrib enabled, update your ports tree and install docker (*as root*):
    19  
    20      # prt-get depinst docker
    21  
    22  
    23  ## Kernel Requirements
    24  
    25  To have a working **CRUX+Docker** Host you must ensure your Kernel has
    26  the necessary modules enabled for the Docker Daemon to function correctly.
    27  
    28  Please read the `README`:
    29  
    30      $ prt-get readme docker
    31  
    32  The `docker` port installs the `contrib/check-config.sh` script
    33  provided by the Docker contributors for checking your kernel
    34  configuration as a suitable Docker host.
    35  
    36  To check your Kernel configuration run:
    37  
    38      $ /usr/share/docker/check-config.sh
    39  
    40  ## Starting Docker
    41  
    42  There is a rc script created for Docker. To start the Docker service (*as root*):
    43  
    44      # /etc/rc.d/docker start
    45  
    46  To start on system boot:
    47  
    48   - Edit `/etc/rc.conf`
    49   - Put `docker` into the `SERVICES=(...)` array after `net`.
    50  
    51  ## Images
    52  
    53  There is a CRUX image maintained by [James Mills](http://prologic.shortcircuit.net.au/)
    54  as part of the Docker "Official Library" of images. To use this image simply pull it
    55  or use it as part of your `FROM` line in your `Dockerfile(s)`.
    56  
    57      $ docker pull crux
    58      $ docker run -i -t crux
    59  
    60  There are also user contributed [CRUX based image(s)](https://registry.hub.docker.com/repos/crux/) on the Docker Hub.
    61  
    62  
    63  ## Issues
    64  
    65  If you have any issues please file a bug with the
    66  [CRUX Bug Tracker](http://crux.nu/bugs/).
    67  
    68  ## Support
    69  
    70  For support contact the [CRUX Mailing List](http://crux.nu/Main/MailingLists)
    71  or join CRUX's [IRC Channels](http://crux.nu/Main/IrcChannels). on the
    72  [FreeNode](http://freenode.net/) IRC Network.