Running Docker on Armv5 (pogoplug v4)

This forum is for topics dealing with problems with software specifically in the ARMv5 repo.

Running Docker on Armv5 (pogoplug v4)

Postby earlg » Thu Nov 13, 2014 12:13 am

I installed docker on a pogoplug v4 running alarm and it crashes whenever I try to start it. (using systemctl or as 'docker -d')
I have updated to the latest kernel by installing linux-kirkwood( thanks WarheadSE for the tip).
After searching around, it seems that the developers behind docker do not officially support architecture other than arm64:
https://github.com/docker/docker/issues/3479
I see this thread viewtopic.php?f=60&t=7232 but it does not have a clear conclusion.
Has anyone been successfully running docker on an arm device? If so what device are you using?
earlg
 
Posts: 3
Joined: Wed Nov 12, 2014 1:22 pm

Re: Running Docker on Armv5 (pogoplug v4)

Postby moonman » Thu Nov 13, 2014 3:28 am

Just pointimg out they only support amd64 which is x86_64 and NOT arm64.
Pogoplug V4 | GoFlex Home | Raspberry Pi 4 4GB | CuBox-i4 Pro | ClearFog | BeagleBone Black | Odroid U2 | Odroid C1 | Odroid XU4
-----------------------------------------------------------------------------------------------------------------------
[armv5] Updated U-Boot | [armv5] NAND Rescue System
moonman
Developer
 
Posts: 3388
Joined: Sat Jan 15, 2011 3:36 am

Re: Running Docker on Armv5 (pogoplug v4)

Postby earlg » Fri Nov 14, 2014 12:59 pm

I see. Thanks for the clarification moonman.
earlg
 
Posts: 3
Joined: Wed Nov 12, 2014 1:22 pm

Re: Running Docker on Armv5 (pogoplug v4)

Postby WarheadsSE » Fri Nov 14, 2014 2:59 pm

This is changing as I convince them to make it work :) We do however have a few bugs I am still working with them on fixing. Like this sqlite problem.
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: Running Docker on Armv5 (pogoplug v4)

Postby mattwallington » Sat Dec 06, 2014 11:17 pm

earlg, are you still working on this? I need to do the same thing and have been working on getting it to work on an Armv5 device as well. Want to collaborate?
mattwallington
 
Posts: 4
Joined: Sat Dec 06, 2014 11:13 pm

Re: Running Docker on Armv5 (pogoplug v4)

Postby mattwallington » Sun Dec 07, 2014 3:11 am

Warhead, Do you know if there are any plans to get it to work properly on ARMv5? Also, are you abandoning Docker development in favor of Rocket now?
mattwallington
 
Posts: 4
Joined: Sat Dec 06, 2014 11:13 pm

Re: Running Docker on Armv5 (pogoplug v4)

Postby WarheadsSE » Mon Dec 08, 2014 1:24 pm

I continue to work with Docker for the time being, I see no reason to ""jump ship"" since they are separate projects, I don't have to ""leave one"". I simply have not started packaging Rocket yet.

Last I checked, they were debating on removing sqlite altogether, which would have solved the issue. I will have to revisit.
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: Running Docker on Armv5 (pogoplug v4)

Postby taophp » Tue Dec 09, 2014 10:19 am

Hi,

I'm also trying to make Docker work on Armv5, on a Sheevaplug this time.

There many reports of people making Docker work on Rhasperry Pi (Armv7), so why not on Armv5 ?

But I think I have a problem at an earlier step than earlg. (By the way, pacman -Sy docker does not install the bridge-utils packet as a dependency). Docker seems not to be able to create a network interface.
See :
$this->bbcode_second_pass_code('', '# docker -d -D
2014/12/09 11:14:41 docker daemon: 1.3.0 c78088f-dirty; execdriver: native; graphdriver:
[d61befc8] +job serveapi(unix:///var/run/docker.sock)
[info] Listening for HTTP on unix (/var/run/docker.sock)
[debug] daemon.go:797 Using graph driver aufs
[debug] daemon_aufs.go:16 Migrating existing containers
[debug] daemon.go:797 Creating images graph
[debug] graph.go:68 Restored 0 elements
[debug] daemon.go:797 Creating repository list
[d61befc8] +job init_networkdriver()
[debug] driver.go:295 Creating bridge docker0 with network 172.17.42.1/16
[debug] driver.go:325 setting bridge mac address = true
package not installed
[d61befc8] -job init_networkdriver() = ERR (1)
2014/12/09 11:14:41 package not installed

# uname -a
Linux alarm 3.17.4-1-ARCH #1 PREEMPT Fri Nov 21 22:27:00 MST 2014 armv5tel GNU/Linux
')

lsmod gives me nothing, but that may be expected, right ?

Any idea ?
taophp
 
Posts: 1
Joined: Tue Dec 09, 2014 10:07 am

Re: Running Docker on Armv5 (pogoplug v4)

Postby WarheadsSE » Tue Dec 09, 2014 4:46 pm

The RPi is ARMv6 with hardfloat vfp. It is not an ARMv7.
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: Running Docker on Armv5 (pogoplug v4)

Postby mattwallington » Sat Dec 20, 2014 4:54 pm

taophp, I had that same problem and it turned out to be that I didn't have the proper dependencies built into the kernel. I don't remember all the dependencies right now but you need to enable iptables and bridging. You also need to install the bridge_utils package.

I wish I could have documented exactly which features I had to build into the kernel but I'll be revisiting this shortly after the holidays and can publish a list when I get myself back to where I was a couple of weeks ago.
mattwallington
 
Posts: 4
Joined: Sat Dec 06, 2014 11:13 pm

Next

Return to ARMv5

Who is online

Users browsing this forum: No registered users and 5 guests