Docker support in kernel

1,236 views
Skip to first unread message

Petr Pridal

unread,
Jun 20, 2016, 1:55:12 PM6/20/16
to Chromium OS discuss
Hi,

ChromeOS is beautiful. It would be cool to use Docker on an Intel Chromebook in the Developer mode - it would turn it into a true web developer machine.
I installed the Crouton and the latest Docker software. It starts, the daemon runs, it downloads the container images from Docker Hub, but then launching the container ends with an error message: "too many levels of symbolic links".

It seems it is related to default LSM (linux security model) settings in the ChromeOS kernel, and it can be avoided by recompiling the Chromium kernel as described at https://github.com/docker/docker/issues/15679 and step-by-step at 

Chrome OS team recently announced the Google Play support via containers, and this is going to be available on all machines with kernels 3.10+ supporting the container technology, after the system update. See the discussion at https://productforums.google.com/forum/#!topic/chromebook-central/Pd0CY3oi1cA

My questions:

- Is there any way how to (in a developer mode with crouton) use the standard Chrome OS kernel and still start docker containers on the machine?

- Does the update bringing Google Play mean also improved support of Docker in crouton?

Thanks for any comments, tips or insights!

Cheers,

Petr

P.S.
I saw another approach - using the docker images with an alternative RKT container engine: http://blog.vantol.org/running-docker-containers-on-a-chromebook-with-rkt/.

Trever

unread,
Jun 21, 2016, 1:56:15 PM6/21/16
to Chromium OS discuss

Petr Pridal

unread,
Jun 21, 2016, 6:25:32 PM6/21/16
to Chromium OS discuss
Trever,

thanks for the reply. I am afraid the linked thread does not really help much... but it brings some insights.

I can confirm the latest kernel (3.18 on my Acer Chromebook 14), has a support for containers included, as I have been able to start a docker container via RKT engine:


sudo ./rkt run --insecure-options=image docker://hello-world
or
sudo ./rkt run --net=host --insecure-options=image docker://redis

But I have no success with the docker engine itself, nor some of the docker images.

- Anybody out there running successfully docker on a Chromebook?

- Is there a change coming up with the release of Android in a container?

Regards,

Petr
Message has been deleted

blanc claude88

unread,
Jul 16, 2016, 6:33:19 AM7/16/16
to Chromium OS discuss
love

2016-07-16 12:31 GMT+02:00 blanc claude88 <seel...@gmail.com>:
HAS YOUR ATTENTION: OFFER OF LOAN TO BE FAST AND EASY
need ide financial contact me via email: blanc.c...@hotmail.com
Need a loan? You have been rejected by the bank and that you

want a loan for all your needs? No problem. Regardless
your financial situation. I offer mortgages, 
business loans, international loans, loan education
personal loan and exclusive. I offer loans available to the
people, other public and private companies, and many others.
Our interest rate is 2% .

your transfer by western union .

Contact me by email: blanc.c...@hotmail.com


Contact me by email: blanc.c...@hotmail.com

--
--
Chromium OS discuss mailing list: chromium-...@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-os-discuss?hl=en

---
You received this message because you are subscribed to the Google Groups "Chromium OS discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-os-dis...@chromium.org.

Message has been deleted

Jhon Blue

unread,
Jul 18, 2016, 12:02:42 AM7/18/16
to seel...@gmail.com, Chromium OS discuss
Who is sending these money advertisements? This is chromium not some silly money thing

Cathleen Turner

unread,
Nov 21, 2016, 3:42:14 PM11/21/16
to Chromium OS discuss
Hey Petr,

Did you ever get docker working? What crouton flavor do you use?

I hit a wall too. I am exploring other solutions. I am currently using trusty.

Paco Gb

unread,
Dec 27, 2016, 7:10:27 AM12/27/16
to Chromium OS discuss
Hi Petr and Cathleen,

Any news on this subject, Im trying to get them working too. Im thinking of trying this method:


But it would be great to get them working in vanilla ChromeOS

Thanks

Cathleen Turner

unread,
Dec 28, 2016, 11:22:58 AM12/28/16
to Chromium OS discuss
Hi Paco,

I ended up going about this problem differently. I set up a personal ubuntu dev server and I ssh into it or work on it through cloud9. That way I am able to do my development work remotely via my chromebook. Everything has been going great so far. I haven't seen this solution before, how did it go for you?

Thanks,
Cat 

Paco Gb

unread,
Jan 1, 2017, 8:42:17 AM1/1/17
to Chromium OS discuss
Hi Cathleen,

I'm trying to compile the kernel and load it in a ChromeOS installation, unfortunately without success so far. I'll keep you updated.
Reply all
Reply to author
Forward
0 new messages