meta-virtualization.lists.yoctoproject.org archive mirror
 help / color / mirror / Atom feed
From: vivsundar@gmail.com
To: meta-virtualization@lists.yoctoproject.org
Subject: Reduce Docker installation size in the disk  #meta-virtualization #yocto
Date: Sun, 25 Feb 2024 22:09:24 -0800	[thread overview]
Message-ID: <8uml.1708927764963219775.KWwp@lists.yoctoproject.org> (raw)

[-- Attachment #1: Type: text/plain, Size: 619 bytes --]

I use yocto build for creating Kernel and Rootfs images to be used in CM4 module.  I use core-image-minimal which produces a nice 30M (Kernel + RFS) image.  But when is include docker with:

IMAGE_INSTALL:append = " python3-docker-compose"
IMAGE_INSTALL:append = " docker-ce"

The image size increases by 320M(Kernel + RFS).  Is there a way to remove some unnecessary components from docker?  I am quite new to docker and its internal components.
I have fixed offsets in by boot loader, so, I am finding it hard to boot the board with the new Kernel and RFS.

Any help will be greatly appreciated. Thanks.

[-- Attachment #2: Type: text/html, Size: 755 bytes --]

WARNING: multiple messages have this Message-ID (diff)
From: vivsundar@gmail.com
To: meta-virtualization@lists.yoctoproject.org
Subject: Reduce Docker installation size in the disk #meta-virtualization #yocto
Date: Sun, 25 Feb 2024 22:11:31 -0800	[thread overview]
Message-ID: <8uml.1708927764963219775.KWwp@lists.yoctoproject.org> (raw)
Message-ID: <20240226061131.3z6q20Jrencai4lTzyIeISdoMZfb1QhlOqapGkIuakc@z> (raw)

[-- Attachment #1: Type: text/plain, Size: 637 bytes --]

I use yocto build(Kirkstone branch) for creating Kernel and Rootfs images to be used in CM4 module.  I use core-image-minimal which produces a nice 30M (Kernel + RFS) image.  But when is include docker with:

IMAGE_INSTALL:append = " python3-docker-compose"
IMAGE_INSTALL:append = " docker-ce"

The image size increases by 320M(Kernel + RFS).  Is there a way to remove some unnecessary components from docker?  I am quite new to docker and its internal components.
I have fixed offsets in by boot loader, so, I am finding it hard to boot the board with the new Kernel and RFS.

Any help will be greatly appreciated. Thanks.

[-- Attachment #2: Type: text/html, Size: 773 bytes --]

             reply	other threads:[~2024-02-26  6:09 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-02-26  6:09 vivsundar [this message]
2024-02-26  6:11 ` Reduce Docker installation size in the disk #meta-virtualization #yocto vivsundar
2024-02-26 13:42 ` [meta-virtualization] " Bruce Ashfield

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=8uml.1708927764963219775.KWwp@lists.yoctoproject.org \
    --to=vivsundar@gmail.com \
    --cc=meta-virtualization@lists.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).