lib/dockerun/command/run_new_container.rb in dockerun-0.3.5 vs lib/dockerun/command/run_new_container.rb in dockerun-0.3.6

- old
+ new

@@ -47,10 +47,10 @@ m.choice n,n end end end - contName = run_docker_container(imageName, nil) do |ops, *args| + contName, otherConfigs = run_docker_container(imageName, nil) 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?")