summaryrefslogtreecommitdiff
path: root/daemon/exec_linux.go
diff options
context:
space:
mode:
authorDavid Calavera <david.calavera@gmail.com>2015-11-04 14:39:12 -0500
committerDavid Calavera <david.calavera@gmail.com>2015-11-05 17:09:57 -0500
commit3b5fac462d21ca164b3778647420016315289034 (patch)
tree278d2e9934c8db167887ece28e10ef5a99aec591 /daemon/exec_linux.go
parentb2f14f9bec0c4c8f14e9ac5446fbb49d88310bae (diff)
downloaddocker-3b5fac462d21ca164b3778647420016315289034.tar.gz
Remove LXC support.
The LXC driver was deprecated in Docker 1.8. Following the deprecation rules, we can remove a deprecated feature after two major releases. LXC won't be supported anymore starting on Docker 1.10. Signed-off-by: David Calavera <david.calavera@gmail.com>
Diffstat (limited to 'daemon/exec_linux.go')
-rw-r--r--daemon/exec_linux.go18
1 files changed, 0 insertions, 18 deletions
diff --git a/daemon/exec_linux.go b/daemon/exec_linux.go
deleted file mode 100644
index a360326327..0000000000
--- a/daemon/exec_linux.go
+++ /dev/null
@@ -1,18 +0,0 @@
-// +build linux
-
-package daemon
-
-import (
- "strings"
-
- "github.com/docker/docker/daemon/execdriver/lxc"
-)
-
-// checkExecSupport returns an error if the exec driver does not support exec,
-// or nil if it is supported.
-func checkExecSupport(drivername string) error {
- if strings.HasPrefix(drivername, lxc.DriverName) {
- return lxc.ErrExec
- }
- return nil
-}