page_title: Installation on CRUX Linux page_description: Docker installation on CRUX Linux. page_keywords: crux linux, virtualization, Docker, documentation, installation
Installing on CRUX Linux can be handled via the contrib ports from James Mills and are included in the official contrib ports:
The docker
port will build and install the latest tagged version of Docker.
Assuming you have contrib enabled, update your ports tree and install docker (as root):
# prt-get depinst docker
To have a working CRUX+Docker Host you must ensure your Kernel has the necessary modules enabled for the Docker Daemon to function correctly.
Please read the README
:
$ prt-get readme docker
The docker
port installs the contrib/check-config.sh
script
provided by the Docker contributors for checking your kernel
configuration as a suitable Docker host.
To check your Kernel configuration run:
$ /usr/share/docker/check-config.sh
There is a rc script created for Docker. To start the Docker service (as root):
# /etc/rc.d/docker start
To start on system boot:
/etc/rc.conf
docker
into the SERVICES=(...)
array after net
.There is a CRUX image maintained by James Mills
as part of the Docker "Official Library" of images. To use this image simply pull it
or use it as part of your FROM
line in your Dockerfile(s)
.
$ docker pull crux
$ docker run -i -t crux
There are also user contributed CRUX based image(s) on the Docker Hub.
If you have any issues please file a bug with the CRUX Bug Tracker.
For support contact the CRUX Mailing List or join CRUX's IRC Channels. on the FreeNode IRC Network.