This repository has been archived by the owner on Aug 14, 2023. It is now read-only.
v1.0.0-rc1
DieterReuter
released this
14 Aug 12:11
·
303 commits
to master
since this release
HypriotOS 1.0.0-rc1
This is the first major release of HypriotOS for the Raspberry Pi - a Debian-based Container OS focussed on security and minimal size with all the necessary Docker tools already pre-installed. It is heavily inspired by Raspbian and supports absolutely all Raspberry Pi models (1, 2, 3, Zero & Compute Module) out-of-the-box. The Linux kernel is optimised for use of Docker containers and runs on both ARMv6 and ARMv7 CPU's.
From Zero to Docker in five minutes only:
Downloading the SD card image, flashing it to a SD card and booting up the Raspberry Pi takes less than five minutes - and the latest Docker Engine is already up and running.
Contents
- Linux Kernel 4.4.15 (optimised for Docker)
- dual-arch kernel for ARMv6 and ARMv7 (supports all Raspberry Pi models)
- Docker Engine 1.12.1-rc1 (officially build from Docker)
- Docker Machine 0.8.0
- Docker Compose 1.8.0
- Hypriot Device Init 0.1.8
- Hypriot OS-RootFS 1.0.0-rc1 - Raspbian/Jessie "Raspbian GNU/Linux 8 (jessie)"
Features
- The root filesystem of the SD card will be automatically resized on first-boot
- No built-in "root" user for increased security
- Only a single standard user (username "pirate", password "hypriot") with
sudo
rights- User "pirate" is member of group "docker", can start
docker
commands directly - User "pirate" is member of group "video", can access the Raspberry Pi camera module
- User "pirate" is member of group "docker", can start
device-init
allows image customisation before first-boot- Standard hostname "black-pearl", can be configured in
/boot/device-init.yaml
- WiFi can be configured via
device-init
in/boot/device-init.yaml
- Hypriot Flash tool directly supports
device-init
configuration
- Standard hostname "black-pearl", can be configured in
- Avahi service discovery built-in
- find your Pi with a simple
ping black-pearl.local
orping black-pearl
on the network
- find your Pi with a simple
- Console login via UART pins is enabled by default (for all Raspberry Pi models including Pi 3)
- almost all WiFi firmware included (atheros, brcm80211, libertas, ralink, realtek) for maximum compatibility
- Using Overlay filesystem for Docker storage-driver is activated by default
Improvements
- Reduced Image size (1000M/1.0.0-rc1 vs. 1300M/v0.8.4) for quicker SD card flashing
- flashing to a SanDisk Ultra 16GB microSD card takes 01:56min only (2014 MBP, OS X 10.11)
- Reduced .img.zip size (252M/1.0.0-rc1 vs. 504M/v0.8.4) for smaller and faster downloads
- Optimised filesystem to support more I-nodes (1x I-node per 4kByte block)
- Faster boot times (measured with a freshly flashed SD card, no containers, no additional apps)
- first-boot: 21sec from power-on to login prompt on UART console
- normal boot: 15-17sec from power-on to login prompt on UART console
- reboot: 22sec to login prompt on UART console
- Minimised memory usage, 46MByte only (new install, right after boot, w/ SSH session)
- Minimised disk usage, 750MByte only (new install)
$ df -h
Filesystem Size Used Avail Use% Mounted on
/dev/root 14G 750M 13G 6% /
devtmpfs 427M 0 427M 0% /dev
tmpfs 431M 0 431M 0% /dev/shm
tmpfs 431M 12M 420M 3% /run
tmpfs 5.0M 0 5.0M 0% /run/lock
tmpfs 431M 0 431M 0% /sys/fs/cgroup
/dev/mmcblk0p1 64M 30M 34M 47% /boot
Removed Features
- Hypriot Cluster Lab (already available as separate .deb package)
Known Issues
- this release currently only works on Pi 2 & Pi 3 as the Docker Engine 1.12.1-rc1 is built for ARMv7 only (should be fixed with the 1.0.0 release)
LICENSE
The MIT License (MIT)
Copyright (c) 2016 Hypriot