protected function getContainerName($container) {
    $this->validateConfig();
    // Project name is defined in a nice, human-readable style, so lowercase it
    // first.
    $project_lowercase = strtolower($this->config->get('name'));
    // Replace all spaces to match the behavior of Docker Compose. Then finally
    // append container name.
    return str_replace(' ', '', $project_lowercase) . '_' . $container;
  }
protected function getContainerName($container) {
    $this->validateConfig();
    // Project name is defined in a nice, human-readable style, so lowercase it
    // first.
    $project_lowercase = strtolower($this->config->get('name'));
    // Replace all spaces to match the behavior of Docker Compose. Then finally
    // append container name.
    return str_replace(' ', '', $project_lowercase) . '_' . $container;
  }
protected function getContainerName ( $ container ) { $ this -> validateConfig ( ) ; // Project name is defined in a nice, human-readable style, so lowercase it // first. $ project_lowercase = strtolower ( $ this -> config -> get ( 'name' ) ) ; // Replace all spaces to match the behavior of Docker Compose. Then finally // append container name. return str_replace ( ' ' , '' , $ project_lowercase ) . '_' . $ container ; }
Returns Docker Compose-style container name with project name as prefix.
Returns Docker Compose - style container name with project name as prefix .