Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
| ... | ... |
@@ -6,6 +6,7 @@ import ( |
| 6 | 6 |
"fmt" |
| 7 | 7 |
"path" |
| 8 | 8 |
|
| 9 |
+ "github.com/Sirupsen/logrus" |
|
| 9 | 10 |
"github.com/docker/docker/daemon/execdriver" |
| 10 | 11 |
"github.com/docker/docker/daemon/execdriver/lxc" |
| 11 | 12 |
"github.com/docker/docker/daemon/execdriver/native" |
| ... | ... |
@@ -19,6 +20,7 @@ func NewDriver(name string, options []string, root, libPath, initPath string, sy |
| 19 | 19 |
// we want to give the lxc driver the full docker root because it needs |
| 20 | 20 |
// to access and write config and template files in /var/lib/docker/containers/* |
| 21 | 21 |
// to be backwards compatible |
| 22 |
+ logrus.Warn("LXC built-in support is deprecated.")
|
|
| 22 | 23 |
return lxc.NewDriver(root, libPath, initPath, sysInfo.AppArmor) |
| 23 | 24 |
case "native": |
| 24 | 25 |
return native.NewDriver(path.Join(root, "execdriver", "native"), initPath, options) |
| ... | ... |
@@ -12,6 +12,14 @@ parent = "mn_use_docker" |
| 12 | 12 |
|
| 13 | 13 |
The following list of features are deprecated. |
| 14 | 14 |
|
| 15 |
+### LXC built-in exec driver |
|
| 16 |
+**Deprecated In Release: v1.8** |
|
| 17 |
+ |
|
| 18 |
+**Target For Removal In Release: v1.10** |
|
| 19 |
+ |
|
| 20 |
+The built-in LXC execution driver is deprecated for an external implementation. |
|
| 21 |
+The lxc-conf flag and API fields will also be removed. |
|
| 22 |
+ |
|
| 15 | 23 |
### Old Command Line Options |
| 16 | 24 |
**Deprecated In Release: [v1.8.0](/release-notes/#docker-engine-1-8-0)** |
| 17 | 25 |
|