github.com/hustcat/docker@v1.3.3-0.20160314103604-901c67a8eeab/docs/installation/linux/cruxlinux.md (about)

     1  <!--[metadata]>
     2  +++
     3  aliases = [ "/engine/installation/cruxlinux/"]
     4  title = "Installation on CRUX Linux"
     5  description = "Docker installation on CRUX Linux."
     6  keywords = ["crux linux, Docker, documentation,  installation"]
     7  [menu.main]
     8  parent = "engine_linux"
     9  +++
    10  <![end-metadata]-->
    11  
    12  # CRUX Linux
    13  
    14  Installing on CRUX Linux can be handled via the contrib ports from
    15  [James Mills](http://prologic.shortcircuit.net.au/) and are included in the
    16  official [contrib](http://crux.nu/portdb/?a=repo&q=contrib) ports:
    17  
    18  - docker
    19  
    20  The `docker` port will build and install the latest tagged version of Docker.
    21  
    22  
    23  ## Installation
    24  
    25  Assuming you have contrib enabled, update your ports tree and install docker:
    26  
    27      $ sudo prt-get depinst docker
    28  
    29  
    30  ## Kernel requirements
    31  
    32  To have a working **CRUX+Docker** Host you must ensure your Kernel has
    33  the necessary modules enabled for the Docker Daemon to function correctly.
    34  
    35  Please read the `README`:
    36  
    37      $ sudo prt-get readme docker
    38  
    39  The `docker` port installs the `contrib/check-config.sh` script
    40  provided by the Docker contributors for checking your kernel
    41  configuration as a suitable Docker host.
    42  
    43  To check your Kernel configuration run:
    44  
    45      $ /usr/share/docker/check-config.sh
    46  
    47  ## Starting Docker
    48  
    49  There is a rc script created for Docker. To start the Docker service:
    50  
    51      $ sudo /etc/rc.d/docker start
    52  
    53  To start on system boot:
    54  
    55   - Edit `/etc/rc.conf`
    56   - Put `docker` into the `SERVICES=(...)` array after `net`.
    57  
    58  ## Images
    59  
    60  There is a CRUX image maintained by [James Mills](http://prologic.shortcircuit.net.au/)
    61  as part of the Docker "Official Library" of images. To use this image simply pull it
    62  or use it as part of your `FROM` line in your `Dockerfile(s)`.
    63  
    64      $ docker pull crux
    65      $ docker run -i -t crux
    66  
    67  There are also user contributed [CRUX based image(s)](https://hub.docker.com/_/crux/) on the Docker Hub.
    68  
    69  
    70  ## Uninstallation
    71  
    72  To uninstall the Docker package:
    73  
    74      $ sudo prt-get remove docker
    75  
    76  The above command will not remove images, containers, volumes, or user created
    77  configuration files on your host. If you wish to delete all images, containers,
    78  and volumes run the following command:
    79  
    80      $ rm -rf /var/lib/docker
    81  
    82  You must delete the user created configuration files manually.
    83  
    84  ## Issues
    85  
    86  If you have any issues please file a bug with the
    87  [CRUX Bug Tracker](http://crux.nu/bugs/).
    88  
    89  ## Support
    90  
    91  For support contact the [CRUX Mailing List](http://crux.nu/Main/MailingLists)
    92  or join CRUX's [IRC Channels](http://crux.nu/Main/IrcChannels). on the
    93  [FreeNode](http://freenode.net/) IRC Network.