Docker, anyone?!
#8
(06-18-2017, 07:14 PM)pfeerick Wrote:
(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! Wink

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.

@pfeerick,
     great tutorial! works like a charm on my pinebook.


Messages In This Thread
Docker, anyone?! - by lodger - 06-17-2017, 12:14 PM
RE: Docker, anyone?! - by MarkHaysHarris777 - 06-17-2017, 03:05 PM
RE: Docker, anyone?! - by umiddelb - 06-18-2017, 01:54 PM
RE: Docker, anyone?! - by pfeerick - 06-18-2017, 07:14 PM
RE: Docker, anyone?! - by MarkHaysHarris777 - 06-19-2017, 04:15 PM
RE: Docker, anyone?! - by lodger - 06-20-2017, 01:35 PM
RE: Docker, anyone?! - by pfeerick - 06-21-2017, 03:02 AM
RE: Docker, anyone?! - by cephasiii - 01-02-2018, 06:05 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)