• 15
name

A PHP Error was encountered

Severity: Notice

Message: Undefined index: userid

Filename: views/question.php

Line Number: 191

Backtrace:

File: /home/prodcxja/public_html/questions/application/views/question.php
Line: 191
Function: _error_handler

File: /home/prodcxja/public_html/questions/application/controllers/Questions.php
Line: 433
Function: view

File: /home/prodcxja/public_html/questions/index.php
Line: 315
Function: require_once

name Punditsdkoslkdosdkoskdo

Unable to start lxc container with -f

I'm trying to migrate some lxc containers from lxc 1.1 on Ubuntu 14.04 to lxc 2.0 on Ubuntu 16.04. Our scripts don't ever call lxc-create, but invoke the containers directly with lxc-start and a custom config file:

lxc-start -d --name mongo -f ~/.containers/containers/mongo.conf

This command works just fine on Ubuntu 14.04, but when I run them on 16.04 I get the error message Error: container mongo is not defined.

I could run lxc-create beforehand, but this seems like an unnecessary step, especially since we already have custom filesystems created for all of our containers. Can anyone tell me how to avoid this problem?

Warm tip !!!

This article is reproduced from Stack Exchange / Stack Overflow, please click

Trending Tags