@@ -127,7 +127,7 @@ func (runtime *Runtime) Create(config *Config) (*Container, error) {
runtime.mergeConfig(config, img.Config)
}
- if config.Cmd == nil {
+ if config.Cmd == nil || len(config.Cmd) < 2 {
return nil, fmt.Errorf("No command specified")