github.com/jogo/docker@v1.7.0-rc1/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: 19 20 $ sudo 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 $ sudo 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: 43 44 $ sudo /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 ## Uninstallation 64 65 To uninstall the Docker package: 66 67 $ sudo prt-get remove docker 68 69 The above command will not remove images, containers, volumes, or user created 70 configuration files on your host. If you wish to delete all images, containers, 71 and volumes run the following command: 72 73 $ rm -rf /var/lib/docker 74 75 You must delete the user created configuration files manually. 76 77 ## Issues 78 79 If you have any issues please file a bug with the 80 [CRUX Bug Tracker](http://crux.nu/bugs/). 81 82 ## Support 83 84 For support contact the [CRUX Mailing List](http://crux.nu/Main/MailingLists) 85 or join CRUX's [IRC Channels](http://crux.nu/Main/IrcChannels). on the 86 [FreeNode](http://freenode.net/) IRC Network.