@tasks.register<EOL>def install_container(container_name):
container_dir = os.path.join(os.environ['<STR_LIT>'], container_name)<EOL>if os.path.exists(container_dir):<EOL><INDENT>os.environ['<STR_LIT>'] = container_dir<EOL><DEDENT>else:<EOL><INDENT>raise ContainerNotFound('<STR_LIT>' % container_dir)<EOL><DEDENT>install_script = os.path.join(container_dir, '<STR_LIT>')<EOL>if os.path.exists(install_script):<EOL><INDENT>print('<STR_LIT>' % container_name)<EOL>subprocess.check_call(['<STR_LIT>', install_script])<EOL><DEDENT>else:<EOL><INDENT>raise ContainerError('<STR_LIT>')<EOL><DEDENT>
Installs the container specified by container_name
:param container_name: string, name of the container