lib/dockerun/command/run_new_image.rb in dockerun-0.3.5 vs lib/dockerun/command/run_new_image.rb in dockerun-0.3.6
- old
+ new
@@ -53,10 +53,10 @@
config.add_image(imageName)
contNames = config.container_names(imageName)
- selContName = run_docker_container(imageName, selContName) do |ops, *args|
+ selContName, otherConfigs = run_docker_container(imageName, selContName) do |ops, *args|
case ops
when :new_container_name
cli.ask("Please provide a new container name : ", required: true)
when :container_name_exist
cli.yes?("Container name '#{args.first}' already exist. Proceed with existing?")