All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Robert Berger" <robert.berger.yocto.user@gmail.com>
To: Marek Belisko <marek.belisko@gmail.com>, yocto <yocto@yoctoproject.org>
Cc: Bruce Ashfield <bruce.ashfield@gmail.com>
Subject: Re: [yocto] [meta-virtualization]: dunfell docker run issues
Date: Sat, 6 Feb 2021 11:02:49 +0200	[thread overview]
Message-ID: <cf75f9b1-c511-dbf8-fef4-8cd12fe32c42@gmail.com> (raw)
In-Reply-To: <CAAfyv35in+eJF2k_vf+6=ZwDby8DPx-bindvqWA-VqKE7kVWBg@mail.gmail.com>

Hi,

On 04/02/2021 17:03, Marek Belisko wrote:
> Hi,
> 
> I'm trying to run docker containers on orangepi and use
> meta-virtualization layer to add docker. I've installed the docker-ce
> package and everything seems to be fine.
> 
> But docker service seems fails to start with:
> Feb 04 15:00:01 orange-pi-zero dockerd[495]: failed to start daemon:
> Devices cgroup isn't mounted
> 

Can you please tell us which version of yocto this is?

Also which kernel and especially which kernel config.

I use something pretty recent (master kind of) and I am able to start 
docker and podman with a custom kernel, but networking is very wrong.

e.g.
1) if I run a web service in a container and open port 8080 to the 
outside world it is not accessible.

2) it's also not possible with docker-compose/podman-compose to 
communicate between containers

... unless I put everything on the host network.

Once you reconfigure your kernel and get it up and running could you 
please also test the issues I mention here?

BTW will dunfell it seems to work, I need to retest, but I have some 
boards running with it, I believe.

If you manage to get an upstream kernel to run on your orangepi zero I 
guess I could even give you my layers to give it a try. You will need 
another device tree and boot loader, but the rest should work.

Regards,

Robert

  parent reply	other threads:[~2021-02-06  9:02 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-02-04 15:03 [meta-virtualization]: dunfell docker run issues Marek Belisko
2021-02-05 11:10 ` [yocto] " Nicolas Jeker
2021-02-06  9:02 ` Robert Berger [this message]
2021-02-07  0:01 ` Leon Woestenberg

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=cf75f9b1-c511-dbf8-fef4-8cd12fe32c42@gmail.com \
    --to=robert.berger.yocto.user@gmail.com \
    --cc=bruce.ashfield@gmail.com \
    --cc=marek.belisko@gmail.com \
    --cc=yocto@yoctoproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.