Project

General

Profile

Actions

Bug #9901

closed

Provisioning the same container name twice from the CLI in foreman just gives "500 Internal Server Error"

Added by Partha Aji about 10 years ago. Updated about 10 years ago.

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

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1204298
Would be nice to show an error like "Container name already taken".

hammer -u admin -p changeme docker container create --name hello --command bash \

--repository-name busybox --tag latest --compute-resource DockerCP
Docker Container Created

hammer -u admin -p changeme docker container create --name hello --command bash \

--repository-name busybox --tag latest --compute-resource DockerCP
Could not create the container:
Error: 500 Internal Server Error
Actions

Also available in: Atom PDF