Skip to content

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

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions