docker-engine: add dependency on docker-proxy
authorChristian Stewart <christian@paral.in>
Sun, 4 Mar 2018 00:43:43 +0000 (19:43 -0500)
committerPeter Korsgaard <peter@korsgaard.com>
Sun, 11 Mar 2018 21:34:50 +0000 (22:34 +0100)
docker-proxy is needed by docker-engine at runtime, and was
previously not included. This leads to the following error
when attempting to port-map ports to a container:

  $ docker run -p 8080:8080 nginx
  docker: Error response from daemon: driver failed programming external
  connectivity on endpoint:
  exec: "docker-proxy": executable file not found in $PATH.

Docker expects the docker-proxy binary to exist in the PATH.

Signed-off-by: Christian Stewart <christian@paral.in>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/docker-engine/Config.in

index 05670a716e0dc6180d92768dc0cf1bbead55ec64..8feb11b48c07043f01bff10aed52aaa2f0368d3b 100644 (file)
@@ -16,6 +16,7 @@ config BR2_PACKAGE_DOCKER_ENGINE_DAEMON
        default y
        depends on BR2_USE_MMU # docker-containerd
        select BR2_PACKAGE_DOCKER_CONTAINERD # runtime dependency
+       select BR2_PACKAGE_DOCKER_PROXY # runtime dependency
        select BR2_PACKAGE_IPTABLES # runtime dependency
        select BR2_PACKAGE_SQLITE # runtime dependency
        help