Validate container names on creation. Fixes #3138

Move valid container name regex to the top of the file

Added hyphen as a valid rune in container names.

Remove group in valid container name regex.
Merge pull request #3197 from ajhager/3138-names

Validate container names on creation. Fixes #3138