06-18-2017, 07:14 PM
(06-17-2017, 12:14 PM)lodger Wrote: Okay, so I'm wondering if any of you have successfully installed Docker on any of the pinebook distros? If so, could you please point out the steps you have undertaken to make it all work?! Thanks in advance!
I can't say I've tried until now. While Marcus is right about the pine64... this is the pinebook you were asking about, not the pine64. Now, I've just installed docker via "sudo apt install docker.io". Then checked if the docker group existed, and then added myself to the group.
Code:
sudo groupadd docker
sudo usermod -aG docker $YOUR_USER_NAME
Then logged out and back in again so that my username is now in the docker group. This means when I run something like "docker ps" that I don't get the "unable to access docker" message and don't need to use sudo every time I want to access docker.
Then, the big test. Will it run? Will it crash? Will it break? "docker run armhf/hello-world" Sucess! "Hello from Docker on armhf!" There is also an "aarch64/hello-world" you can run, which is more appropriate for the pinebook, as it is indeed a arm64 processor under the hood!
The trick you will have with pre-made docker images on the pine64/pinebook is finding ones mean to run on armhf/aarch64. But if you check out the (now depreciated) armhf and aarch64 images and the now officially preferred arm64v8, arm32v6 and arm32v7 images, you'll see there are plenty of images to start and base new stuff on.