Skip to content
This repository has been archived by the owner on Aug 14, 2023. It is now read-only.

Ensure compatibility with Docker install.sh #117

Closed
DieterReuter opened this issue Aug 13, 2016 · 1 comment
Closed

Ensure compatibility with Docker install.sh #117

DieterReuter opened this issue Aug 13, 2016 · 1 comment
Assignees

Comments

@DieterReuter
Copy link
Collaborator

Right now it's not possible to install the official Docker .deb package for ARMHF with the recommend way. The reason behind is that the Docker install.sh depends on the lsb_release command, which is currently not available in HypriotOS.

Fix: Installing the Debian package lsb-release should fix this issue.

@DieterReuter
Copy link
Collaborator Author

DieterReuter commented Aug 13, 2016

Just tested it with HypriotOS 0.8.3. As soon as the lsb-release package is installed the install.sh is able to correctly detect the OS as raspbian/jessie and the installation procedure for the Docker Engine package docker-engine runs successfully.

Upgrade procedure for all HypriotOS versions to install docker-engine:

sudo apt-get update
docker rmi -f $(docker images -q)
sudo rm -f /etc/systemd/system/docker.service
sudo apt-get purge -y docker-hypriot
sudo apt-get install -y lsb-release
curl -sSL https://test.docker.com | sh
sudo apt-get clean

With HypriotOS v0.8.4 and later lsb-release package is already installed and upgrading to docker-engine will need even lesser steps:

docker rmi -f $(docker images -q)
sudo rm -f /etc/systemd/system/docker.service
sudo apt-get purge -y docker-hypriot
curl -sSL https://test.docker.com | sh
sudo apt-get clean

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant