Actions
Bug #7872
closedAssign name to container
Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Description
Currently the wizard allows you to create the container with a name but the moment it's saved the name goes away and is replaced by a Docker autogenerated name. We want our name to stay, not to be replaced.
Updated by Daniel Lobato Garcia over 9 years ago
Okay, so the problem seems to be here
https://github.com/fog/fog/blob/master/lib/fog/fogdocker/requests/compute/container_create.rb#L30
That is 'camelizing' the key "name".
The underlying library, docker-api, requires it to be lower case in order to create a container with that name: https://github.com/swipely/docker-api/blob/master/lib/docker/container.rb#L170
Updated by The Foreman Bot over 9 years ago
- Status changed from New to Ready For Testing
- Pull request https://github.com/theforeman/foreman-docker/pull/37 added
- Pull request deleted (
)
Updated by Daniel Lobato Garcia over 9 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset foreman-docker|28b68f2147f8691c4b819f402d80a04395e1bd8a.
Actions