Skip to content

[Request]: add container export for running containers. #1400

Description

@saehejkang

Feature or enhancement request details

Using container export on a running container produces the following error:

% container export -o liveexport-test-run-1.tar liveexport-test-run
Error: failed to export container (cause: "invalidState: "container is not stopped"")

The export function should also work for running containers.

Relates To

#1399

Code of Conduct

  • I agree to follow this project's Code of Conduct

Activity

  1. saehejkang commented on Apr 7, 2026

    @saehejkang
    ContributorAuthor

    currently working on this

  2. jglogan commented on Apr 7, 2026

    @jglogan
    Contributor

    @saehejkang you mentioned that you'd like to learn more about containerization?

    If you implement apple/containerization#660, we should be able to get guaranteed-correct --live snapshots for both container export and container commit.

  3. saehejkang commented on Apr 8, 2026

    @saehejkang
    ContributorAuthor

    you mentioned that you'd like to learn more about containerization?

    Yep! I can work on that issue before doing container export and container commit.

  4. dcantah commented on Apr 15, 2026

    @dcantah
    Contributor

    Thinking more on this, what is the rationale for --live? Today we don't have commit at all right? I'd think it'd be much easier to just freeze the cgroup for the container (so nothing can write to the block dev anyways) than freeze the blockdev itself.

  5. saehejkang commented on Apr 17, 2026

    @saehejkang
    ContributorAuthor

    Today we don't have commit at all right?

    Yes there is no commit command at the moment.

  6. changed the title [-][Request]: add --live flag to container export[/-] [+][Request]: add `container export` for running containers.[/+] on Aug 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions