Skip to content

Pause (freeze) container during 'commit' #6267

@ewindisch

Description

@ewindisch

A commit should protect against writes (and thus data-corruption) during the commit process. We can ensure protection against writes by using the newly added pause command.

I propose making 'commit' pause by default, with an option/flag to disable pausing for those that select it (and earlier API requests would, of course, default to the older behavior)

docker commit --pause=false
docker commit --pause=true # default in API >v1.12

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