Skip to content

Mutation To Restart and Update a Container #1871

@rkozyak

Description

@rkozyak

Is your feature request related to a problem?

The webUI for Docker currently has options to restart a container or update a container but the API does not. The API currently only allows you to start/stop a container.

Describe the solution you'd like

An additional mutation field for docker to restart and update it.

mutation Docker($restartID: PrefixedID!, $updateID: PrefixedID!) {
  docker {
    restart(id: $restartID) {}
    update(id: $updateID) {}
  }
}

Additional context

Pre-submission Checklist

  • I have searched existing issues to ensure this feature hasn't already been requested
  • This is not an Unraid Connect related feature (if it is, please submit via the support form instead)
  • I have provided clear examples or use cases for the feature

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions