Project

General

Profile

Actions

Bug #7872

closed

Assign name to container

Added by Daniel Lobato Garcia over 9 years ago. Updated over 9 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

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.

Actions #1

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

Actions #2

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 ()
Actions #3

Updated by Daniel Lobato Garcia over 9 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100
Actions

Also available in: Atom PDF