create container the container name is not params set name; post request params is error.
- Dominant language
- C#
- Stars
- 2.4k
- Forks
- 416
- PR merge metrics
- No merged PRs in 30d
Description
**Output of `dotnet --info`:**
```
Host (useful for support):
Version: 3.1.3
Commit: 4a9f85e9f8
.NET Core SDKs installed:
2.1.202 [C:\Program Files\dotnet\sdk]
2.1.508 [C:\Program Files\dotnet\sdk]
2.1.511 [C:\Program Files\dotnet\sdk]
2.1.512 [C:\Program Files\dotnet\sdk]
2.2.108 [C:\Program Files\dotnet\sdk]
3.1.102 [C:\Program Files\dotnet\sdk]
3.1.201 [C:\Program Files\dotnet\sdk]
```
**What version of Docker.DotNet?:**
```
3.125.2
```
**Steps to reproduce the issue:**
1. I have set CreateContainerParameters.Name;
2. dockerC.Containers.CreateContainerAsync(dparam)
3. I find create docker container names is not my set valuel;
I open source ContainerOperations.cs and docker api refrence (https://docs.docker.com/engine/api/v1.39/#operation/ContainerCreate)
I find http api request container name must post with request url. like /containers/create/{name};
but in source post this request like this:
` var response = await this._client.MakeRequestAsync(new[] { NoSuchContainerHandler }, HttpMethod.Post, "containers/create", qs, data, cancellationToken).ConfigureAwait(false);
`
name post with body;
I think this is a bug;
**What actually happened?:**
**What did you expect to happen?:**
**Additional information:**
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.