Skip to content

[Bug] Container State Not Persisted - Data Lost on Shutdown #12

@anshul23102

Description

@anshul23102

Description

Container state is not persisted across shutdowns. Container data, environment variables, and configuration are lost on restart. Users cannot resume or checkpoint running containers.

Steps to Reproduce

  1. Start container with custom configuration and data
  2. Container running and processing requests
  3. System restarts or container stopped
  4. Restart container
  5. No state or configuration from previous run
  6. Data lost

Environment Information

  • Persistence: Not implemented
  • Storage: No checkpoint/snapshot
  • State management: In-memory only
  • Restart: Fresh container

Expected Behavior

  • Container state saved on shutdown
  • State restored on restart
  • Checkpoint/snapshot capability
  • Data persistence across restarts

Actual Behavior

  • No state persistence
  • Data lost on shutdown
  • Fresh container on restart
  • No recovery option

Code Reference

  • File: daemon/container.rs
  • Missing: State persistence logic
  • Missing: Checkpoint mechanism
  • Missing: Snapshot storage

Additional Context

Level 2 feature gap. Fix requires:

  • Implementing container state persistence
  • Checkpoint/snapshot mechanism
  • State recovery on restart
  • Testing state persistence

Suggested Labels

feature-request, persistence, state-management, reliability, checkpointing

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions