Skip to content

Work Intent: Add docker restart mutation #2021

@rkozyak

Description

@rkozyak

Overview

A restart mutation for containers is currently missing while start/stop/update/etc exist.

Technical Approach

Add a restart mutation to the docker mutations resolver and a restart method in the docker service that calls the native container.restart() and use the existing patterns for the start, stop, and unpause mutations.

Scope

  • API
  • Plugin
  • Web UI
  • Build/Deploy Process
  • Documentation

Timeline & Impact

  • Estimated time needed: 1-2 hours
  • Potential impacts: Only adds new mutation. No changes to existing mutations or behaviors

Pre-submission Checklist

  • I have searched for similar work/issues
  • I understand this needs approval before starting
  • I am willing to make adjustments based on feedback

Metadata

Metadata

Assignees

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