• Announcements

    • MannDude

      Current state of vpsBoard   02/04/2017

      Dear vpsBoard members and guests:

      Over the last year or two vpsBoard activity and traffic has dwindled. I have had a change of career and interests, and as such am no longer an active member of the web hosting industry.

      Due to time constraints and new interests I no longer wish to continue to maintain vpsBoard. The web site will remain only as an archive to preserve and showcase some of the great material, guides, and industry news that has been generated by members, some of which I remain in contact to this very day and now regard as personal friends.

      I want to thank all of our members who helped make vpsBoard the fastest growing industry forum. In it's prime it was an active and ripe source of activity, news, guides and just general off-topic banter and fun.

      I wish all members and guests the very best, whether it be with your business or your personal projects.

      -MannDude
wlanboy

Running Docker on Armbian

1 post in this topic

I am using Armbian for my head-less servers. Currently this setup is running on a Raspberry Pi 1, a Raspberry Pi 2 and a Olimex A20-OLinuXino-LIME.

Installation is quite simple.

  1. Install dependencies
    apt-get install -y apt-transport-https

     

  2. Add respository key
    wget -q https://packagecloud.io/gpg.key -O - | sudo apt-key add -

     

  3. Add repository
    echo 'deb https://packagecloud.io/Hypriot/Schatzkiste/debian/ jessie main' | sudo tee /etc/apt/sources.list.d/hypriot.list
    apt-get update

     

  4. Install Hypriot 
    apt-get install -y docker-hypriot
    systemctl enable docker

     

Afterwards docker is ready to use.

You can test your docker installation:

docker info
Containers: 0
 Running: 0
 Paused: 0
 Stopped: 0
Images: 0
Server Version: 1.11.1
Storage Driver: devicemapper
 Pool Name: docker-179:1-395364-pool
 Pool Blocksize: 65.54 kB
 Base Device Size: 10.74 GB
 Backing Filesystem: ext4
 Data file: /dev/loop0
 Metadata file: /dev/loop1
 Data Space Used: 305.7 MB
 Data Space Total: 107.4 GB
 Data Space Available: 13.8 GB
 Metadata Space Used: 729.1 kB
 Metadata Space Total: 2.147 GB
 Metadata Space Available: 2.147 GB
 Udev Sync Supported: true
 Deferred Removal Enabled: false
 Deferred Deletion Enabled: false
 Deferred Deleted Device Count: 0
 Data loop file: /var/lib/docker/devicemapper/devicemapper/data
 WARNING: Usage of loopback devices is strongly discouraged for production use. Either use `--storage-opt dm.thinpooldev` or use `--storage-opt dm.no_warn_on_loop_devices=true` to suppress this warning.
 Metadata loop file: /var/lib/docker/devicemapper/devicemapper/metadata
 Library Version: 1.02.90 (2014-09-01)
Logging Driver: json-file
Cgroup Driver: cgroupfs
Plugins:
 Volume: local
 Network: null host bridge
Kernel Version: 4.6.3-sunxi
Operating System: Debian GNU/Linux 8 (jessie)
OSType: linux
Architecture: armv7l
CPUs: 2
Total Memory: 493.9 MiB
Name: a20
ID: LFI7:LG2C:WHZD:SB5F:3JFW:TI56:WCFF:IFJH:MZJ5:NK45:MVG7:FN7D
Docker Root Dir: /var/lib/docker
Debug mode (client): false
Debug mode (server): false
Registry: https://index.docker.io/v1/
docker version
Client:
 Version:      1.11.1
 API version:  1.23
 Go version:   go1.4.3
 Git commit:   5604cbe
 Built:        Mon May  9 00:50:14 2016
 OS/Arch:      linux/arm

Server:
 Version:      1.11.1
 API version:  1.23
 Go version:   go1.4.3
 Git commit:   5604cbe
 Built:        Mon May  9 00:50:14 2016
 OS/Arch:      linux/arm

Keep in mind that only ARM-based containers will run on ARM devices. You can search for valid containers with tags like "armhf" or "hypriot":

docker search armhf
NAME                                  DESCRIPTION                                     STARS     OFFICIAL   AUTOMATED
armv7/armhf-ubuntu                    'official' Ubuntu Docker images for the AR...   30
container4armhf/armhf-alpine          Automatically built base images of Alpine ...   22                   [OK]
ioft/armhf-ubuntu                     [ABR] Ubuntu Docker images for the ARMv7(a...   14                   [OK]
mazzolino/armhf-ubuntu                Ubuntu-Core images for armhf (ARMv7) devices    6
armhf/ubuntu                          Ubuntu is a Debian-based Linux operating s...   5
werwolfby/armhf-alpine-transmission   Minimal alpine docker image for transmissi...   2                    [OK]
cburki/armhf-dev                      Armhf (Raspberry Pi) cross development wit...   2                    [OK]
moul/armhf-busybox                                                                    2                    [OK]
werwolfby/armhf-alpine-gogs           ARM hf compatible Docker Image with a mini...   1                    [OK]
ioft/armhf-debian                     Debian Docker images for the ARMv7(armhf) ...   1                    [OK]
ivanmarban/armhf-gogs                 Gogs - Go Git Service Docker images for AR...   1
werwolfby/armhf-alpine-nginx          ARM hf compatible Docker Image with a mini...   1                    [OK]
msvb/armhf-iotempire                  Collection of software packages to accompa...   0                    [OK]
lalyos/armhf-syncthing                http://docs.syncthing.net in a container f...   0                    [OK]
sheenhx/armhf-concentrator            CC3200 serial concentrator for Beagle Bone...   0                    [OK]
container4armhf/armhf-busybox         Automated build of Busybox for armhf devic...   0                    [OK]
ijoijo/armhf-alpine                   Alpine Linux image for armhf devices (like...   0                    [OK]
armv7/armhf-ubuntu_automated-build    This repo has moved to https://registry.hu...   0                    [OK]
kennethlimcp/armhf-ghost              The awesome Ghost blog, on armhf                0                    [OK]
wontfix/gecko-armhf-dev               Linux/armhf cross build environment for Gecko   0                    [OK]
mathewpeterson/armhf-php7             This image extends the official armhf php ...   0                    [OK]
cailloumajor/debian-armhf-qemu        Debian armhf image with qemu-user-static        0                    [OK]
cricketeerone/armhf-logspout          A fork of gliderlabs/logspout using armhfb...   0                    [OK]
mjschultz/ubuntu-armhf                                                                0                    [OK]
fish/alpine-armhf-dumb-init           alpine-armhf-docker image with "dumb-init"...   0                    [OK]
docker search hypriot
NAME                              DESCRIPTION                                     STARS     OFFICIAL   AUTOMATED
hypriot/rpi-node                  RPi-compatible Docker Image with Node.js        78
hypriot/rpi-java                  RPi-compatible Docker Image with Java           28
hypriot/rpi-mysql                 RPi-compatible Docker Image with Mysql          24
hypriot/rpi-dockerui              An ARM compatible Docker image of https://...   23
hypriot/rpi-swarm                 Raspberry Pi compatible Docker image with ...   22
hypriot/rpi-python                RPi-compatible Docker Image with Python         22
hypriot/rpi-alpine-scratch        Raspberry Pi compatible Docker Image with ...   22
hypriot/rpi-golang                                                                21
hypriot/rpi-busybox-httpd         Raspberry Pi compatible Docker Image with ...   15
hypriot/rpi-iojs                  RPi-compatible Docker Image with io.js          15
hypriot/rpi-gogs-raspbian         Raspberry Pi compatible Docker Image with ...   14
hypriot/rpi-redis                 Raspberry Pi compatible redis image             12
hypriot/rpi-ruby                  RPi-compatible Docker Image with Ruby           11
hypriot/rpi-hugo                  Raspberry Pi compatible Docker Image with ...   10
hypriot/rpi-haproxy               Haproxy Dockerfile                              10
hypriot/rpi-registrator           An ARM compatible Docker image of https://...   4
hypriot/rpi-crate                 RPi-compatible Docker Image with Crate.io       4
hypriot/rpi-consul                ARM compatible Docker Image with Consul         3
np83/rpi2-hypriot-nodejs          Raspberry PI 2 can run hypriot Docker host...   2                    [OK]
hypriot/rpi-nano-httpd            Raspberry Pi nano sized HTTP server             2
calou/hypriot-zookeeper           Zookeeper on Raspberry Pi                       1
configman/hypriot-jenkins-slave   jenkins docker slave for running on a hypr...   0
calou/hypriot-solr                Solr on Raspberry Pi                            0
emyann/hypriot-flash                                                              0
hypriot/image-builder             Base image for several hypriot/image-build...   0

 

Share this post


Link to post
Share on other sites

  • Similar Content

    • By wlanboy
      The revision 1.2 of the Raspberry Pi 2 has now a BCM2837 CPU with up to 900 MHz and includes 1 GB RAM.
      Looking at the Raspberry Pi 3 with it's 1.2 GHz, the main difference between them is the the WiFi and Bluetooth module.
      Some might think that this is a stupid idea, but their are some advantages:
      RP2 on the same 64bit plattform RP2 with the same amount of RAM RP3 as an upgrade if someone needs Wifi and/or Blueooth (and UART issues) For me the Raspberry Pi 3 had two major issues:
      Heat - looks like the > 1 Ghz need active cooling First on 64 bit - not that good for software support Both checked with the new revision of the Raspberry Pi 2.
    • By wlanboy
      Resin.io is a fork of the Yocto-based OS and is now able to run Docker containers on Linux IoT devices.
      Resin known for their Linux/Javascript-based IoT framework forked their Linux OS behind the framework as an open source project over a year ago. The open source ResinOS is now publicly available on its own: https://github.com/resin-os
      ResinOS can run on mostly ARM-based embedded Linux platforms including the Raspberry Pi, BeagleBone, and Odroid:

      https://resinos.io/
      The open source Linux CoreOS (https://coreos.com/why/), supports only x86-64, although attempts have been made to port it to the Raspberry Pi. There are other Docker-friendly Linux distributions like Red Hat based Project Atomic, but still no ARM support.
      Snappy Ubuntu Core, which supports Docker on ARM and x86 embedded targets, but still on some major brands.
      So ResinOS looks like a great new Linux distribution.
       
    • By drmike
      Docker that container virtualization (https://www.docker.com/) hype everyone seems to be into these days ---
      Anyone well along with Docker?
      What does anyone recommend as a reference / howto for those starting?
      Yeah, appeals to me Docker for some upcoming stuff and sandboxes and isolation.   Looking for materials, cause what I am finding in search is type of stuff that makes humans write tech off and go climb a tree.
    • By MannDude
      Source: https://apps.fcc.gov/oetcf/eas/reports/ViewExhibitReport.cfm?mode=Exhibits&calledFromFrame=N&application_id=Ti%2FYleaJNSl%2BTR5mL5C0WQ%3D%3D&fcc_id=2ABCB-RPI32 && https://fccid.io/2ABCB-RPI32
      First looks at the RPI3:


       
      Unsure of the exact operating specs, I'd hope there is some other improvements elsewhere as well but built in wifi and bluetooth will certainly be a nice feature to have. The photos above were pulled from http://www.theregister.co.uk/2016/02/26/raspberry_pi_3/
       
    • By drmike
      I know we have guys with Pi's and wide interests.  With the holidays, some of us actually get some peace and quiet, and it's a great time to get that idle gear you bought this year doing something useful.  Raspberry Pi's are probably sitting around unused by many of us, so I thought why not promote getting them doing something .  Nice little devices, with the right software. 
      So, we all know Pi's can run Kodi and related AV TV zombie causing tasks.  Blah.  There is other stuff, that's what we want here.  Ready to download to copy to SD card and BOOM the Pi becomes useful.
      Accepting recommendations from others to append to this list.

      Here we go, my list of Pi distros folks might enjoy:
      Apps:
      https://arkos.io/
      http://ubos.net
      http://dietpi.com/ (mininalist OS loaded with more traditional apps)
      http://blog.hypriot.com/post/heavily-armed-after-major-upgrade-raspberry-pi-with-docker-1-dot-5-0/ (Docker focused Pi)
      https://yunohost.org/#/install_on_raspberry
      Firewall / Router / Security:
      http://www.ipfire.org/
      https://github.com/m6urns/i2pberry (i2p - alternative to ToR)
      https://code.google.com/p/torberry/ (Tor Distro)
      http://docs.kali.org/kali-on-arm/install-kali-linux-arm-raspberry-pi (security distro)
      https://github.com/ccrisan/motioneyeos (DVR / security cam distro)
      https://dl.dropboxusercontent.com/u/3815507/pivpn/pivpn-2015-05-05-raspbian-wheezy.7z (softether distro for Pi)
      https://piratebox.cc/raspberry_pi:diy (Pirate Box - local sharing via wifi)
      Music:
      http://www.pimusicbox.com/
      https://volumio.org/
      http://www.runeaudio.com/
      Other:
      http://rbb.antitree.com/ (ToR optimized for Pi as a bridge)
      http://raspberrypi-hacks.com/7/turn-your-raspberry-pi-into-a-fm-transmitter-hack-radio-frequencies/
      https://www.trustwave.com/Resources/SpiderLabs-Blog/Wardrive,-Raspberry-Pi-Style!/
       
      Free Magazines:
      http://magazine.odroid.com/
      https://www.raspberrypi.org/magpi/