github.com/circular-dark/docker@v1.7.0/docs/installation/cruxlinux.md (about)

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