Watch Aspire live streamsDocsTry Aspire
Watch Aspire live streamsDocsTry

RestartPolicy

Classsealednet10.0
📦 Aspire.Hosting.Docker v13.6.0
Defines the restart policy for a Docker service in a Swarm cluster.
namespace Aspire.Hosting.Docker.Resources.ServiceNodes.Swarm;
public sealed class RestartPolicy
{
// ...
}
This class specifies the conditions, delay, maximum attempts, and time window involved in restarting a Docker service container within a Swarm deployment.
View all constructors
View all properties