[But?] The CreateContainerParameters RestartPolicy name is a number value.
Open
- Dominant language
- C#
- Stars
- 2.4k
- Forks
- 416
- PR merge metrics
- No merged PRs in 30d
Description
```csharp
var parameters = new CreateContainerParameters
{
//.....
HostConfig = new HostConfig
{
//....
RestartPolicy = new RestartPolicy { Name = RestartPolicyKind.OnFailure, MaximumRetryCount = 5 }
},
//....
};
```
After create container with this's parameters, the container Inspect result is :
```json
"restartPolicy": {
"name": 3,
"maximumRetryCount": 5
},
```
How fix this bug?
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.