-
Notifications
You must be signed in to change notification settings - Fork 2
Docker deploy
If you don't need a GUI you may install the minimal Ubuntu / Debian image from ODROID for the C2, install Docker from the repository, activate zram and compile Docker 1.12 from source on the C2.
sudo apt-get install zram-config
reboot
sudo apt-get install lxc aufs-tools cgroup-lite apparmor docker.io
git clone https://github.com/docker/docker
cd docker
git checkout 1.12.x
sudo make build
sudo make binary
http://forum.odroid.com/viewtopic.php?f=140&t=22671
wget -qO- https://get.docker.com/ | sh sudo usermod -aG docker root
sudo su
curl -L https://github.com/docker/compose/releases/download/1.8.1/docker-compose-`uname -s-
uname -m` > /usr/local/bin/docker-compose
chmod +x /usr/local/bin/docker-compose
https://github.com/docker-library/official-images#architectures-other-than-amd64
pip install docker-compose WARNING! I don't seem to be running in a Docker container. The result of this command might be an incorrect build, and will not be officially supported.
Try this instead: make all
---> Making bundle: binary (in bundles/1.12.3/binary) Building: bundles/1.12.3/binary-client/docker-1.12.3 Created binary: bundles/1.12.3/binary-client/docker-1.12.3 Building: bundles/1.12.3/binary-daemon/dockerd-1.12.3 Created binary: bundles/1.12.3/binary-daemon/dockerd-1.12.3 Building: bundles/1.12.3/binary-daemon/docker-proxy-1.12.3 Created binary: bundles/1.12.3/binary-daemon/docker-proxy-1.12.3 Copying nested executables into bundles/1.12.3/binary-daemon
echo "/dev/sda2 /mnt/fit ext4 rw,relatime,data=ordered 0 0" >> /etc/fstab
mkdir -p /mnt/fit/var/lib/docker
echo "{ "graph": "/mnt/fit/var/lib/docker" }" > /etc/docker/daemon.json