ports/contrib (3.1): docker-bin: Remvoed. If you want to install the binary: curl -# -q -o /usr/bin/docker https://get.docker.com/builds/Linux/x86_64/docker-latest && chmod +x /usr/bin/docker
commit 1ecc761ac83915ada70abbe0fc89b1445bbc579e Author: James Mills <prologic@shortcircuit.net.au> Date: Wed Nov 5 20:21:26 2014 +1000 docker-bin: Remvoed. If you want to install the binary: curl -# -q -o /usr/bin/docker https://get.docker.com/builds/Linux/x86_64/docker-latest && chmod +x /usr/bin/docker diff --git a/docker-bin/.footprint b/docker-bin/.footprint deleted file mode 100644 index 8bc47ef..0000000 --- a/docker-bin/.footprint +++ /dev/null @@ -1,10 +0,0 @@ -drwxr-xr-x root/root etc/ --rw-r--r-- root/root etc/docker.conf -drwxr-xr-x root/root etc/rc.d/ --rwxr-xr-x root/root etc/rc.d/docker -drwxr-xr-x root/root usr/ -drwxr-xr-x root/root usr/bin/ --rwxr-xr-x root/root usr/bin/docker -drwxr-xr-x root/root usr/share/ -drwxr-xr-x root/root usr/share/docker/ --rwxr-xr-x root/root usr/share/docker/check-config.sh diff --git a/docker-bin/.md5sum b/docker-bin/.md5sum deleted file mode 100644 index ba3ecd8..0000000 --- a/docker-bin/.md5sum +++ /dev/null @@ -1,4 +0,0 @@ -d5e8ec779bb6e49cc6a44781f85d98b7 check-config.sh -7ced4b9d31ade4118a4d2d321e888469 docker-1.3.1 -966e1916d611427c44686ad09145996f docker.conf -139afe9c85732d52148035d62810b938 docker.rc diff --git a/docker-bin/Pkgfile b/docker-bin/Pkgfile deleted file mode 100644 index 4cb3113..0000000 --- a/docker-bin/Pkgfile +++ /dev/null @@ -1,24 +0,0 @@ -# Description: Pack, ship and run any application as a lightweight container -# URL: http://www.docker.io/ -# Maintainer: James Mills, prologic at shortcircuit dot net dot au -# -# Depends on: sqlite3 cgroupfs-mount - -name=docker-bin -version=1.3.1 -release=1 -source=( - https://get.docker.io/builds/Linux/x86_64/docker-$version - https://raw.githubusercontent.com/dotcloud/docker/v${version}/contrib/check-config.sh - docker.rc - docker.conf -) - -build() { - install -D -m 755 $SRC/check-config.sh $PKG/usr/share/docker/check-config.sh - install -D -m 755 $SRC/docker-$version $PKG/usr/bin/docker - install -D -m 755 $SRC/docker.rc $PKG/etc/rc.d/docker - install -D -m 644 $SRC/docker.conf $PKG/etc/docker.conf - - chown -R root:root $PKG -} diff --git a/docker-bin/README b/docker-bin/README deleted file mode 100644 index 93cf966..0000000 --- a/docker-bin/README +++ /dev/null @@ -1,62 +0,0 @@ -Kernel Requirements -=================== - -If you want to have a full working CRUX+Docker system you will need to -rebuild your kernel and enable various networking, cgroups -and optional lvm options - -You may check your kernel configuration by running: - -:: - - /usr/share/docker/check-config.sh - -.. note:: If you receive an error such as "cgroup hierarchy: nonexistent??" - then you should run ``cgroupfs-mount`` and re-run - ``/usr/share/docker/check-config.sh``. - - Please follow the guideance of the output of - ``/usr/share/docker/check-config.sh`` carefully. - - -Execution Engines -================= - -As of Docker 0.9+ execution engines are pluggable and as such Docker -no longer depends on lxc. - -The new default execution driver is now an internal ``libcontainer`` -driver that replaces the need for lxc. - -Please see the `Docker Documentation <http://docs.docker.io>`_ -if you want to use a different execution engine other then the default. - - -Storage Backends -================ - -Docker comes with three main Storage Backends: - -- AUFS (*requires AUFS kernel/patches*) -- devmapper -- btrfs - -It is recommended you use the devmapper or btrfs backend (Default: devmapper). - -To use the ``btrfs`` backend edit ``/etc/docker.conf`` -and modify the ``DOCKER_OPTS`` with: - -:: - - DOCKER_OPTS="-s btrfs" - -.. note:: As of Docker 0.10.x the ``btrfs`` storage backend is now - considered stable and has been promoted to an officially - supported storage backend. - - -Docker Client -============= - -Add yourself to the ``docker`` group if you wish to access -the Docker daemon on localhost via UNIX Socket. diff --git a/docker-bin/docker.conf b/docker-bin/docker.conf deleted file mode 100644 index 0b2644b..0000000 --- a/docker-bin/docker.conf +++ /dev/null @@ -1,5 +0,0 @@ -# Docker Daemon Configuration - -DOCKER_OPTS="-d -p /var/run/docker.pid -H tcp://127.0.0.1:4243 -H unix:///var/run/docker.sock" - -# vim: syntax=sh diff --git a/docker-bin/docker.rc b/docker-bin/docker.rc deleted file mode 100755 index 3f24d6f..0000000 --- a/docker-bin/docker.rc +++ /dev/null @@ -1,43 +0,0 @@ -#!/bin/sh -# -# /etc/rc.d/docker: start/stop docker daemon -# - -source /etc/docker.conf - -case $1 in -start) - # Ensure ownership and permissiong of log file. - touch /var/log/docker.log - chgrp docker /var/log/docker.log - chown 640 /var/log/docker.log - - # Ensure cgroups is properly mounted. - cgroupfs-mount - - nohup /usr/bin/docker $DOCKER_OPTS > /var/log/docker.log 2>&1 & - ;; -stop) - if [ -f /var/run/docker.pid ]; then - kill $(< /var/run/docker.pid) - rm -f /var/run/docker.pid - rm -f /var/run/docker.sock - else - killall -q /usr/bin/docker - rm -f /var/run/docker.sock - fi - - # Unmount cgroups is - cgroupfs-umount - ;; -restart) - $0 stop - sleep 2 - $0 start - ;; -*) - echo "usage: $0 [start|stop|restart]" - ;; -esac - -# End of file diff --git a/docker-bin/post-install b/docker-bin/post-install deleted file mode 100755 index a75854d..0000000 --- a/docker-bin/post-install +++ /dev/null @@ -1,4 +0,0 @@ -#!/bin/bash - -# create docker group -getent group docker > /dev/null || groupadd -g 142 docker
participants (1)
-
crux@crux.nu