Config.in 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  1. config BR2_PACKAGE_DOCKER_ENGINE
  2. bool "docker-engine"
  3. depends on BR2_PACKAGE_HOST_GO_TARGET_ARCH_SUPPORTS
  4. depends on BR2_PACKAGE_HOST_GO_TARGET_CGO_LINKING_SUPPORTS
  5. depends on BR2_TOOLCHAIN_HAS_THREADS
  6. depends on !BR2_TOOLCHAIN_USES_UCLIBC # containerd -> runc
  7. depends on BR2_USE_MMU # containerd
  8. depends on BR2_PACKAGE_LIBSECCOMP_ARCH_SUPPORTS # libseccomp
  9. depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_17 # libseccomp
  10. select BR2_PACKAGE_CGROUPFS_MOUNT if !BR2_PACKAGE_SYSTEMD # runtime dependency
  11. select BR2_PACKAGE_CONTAINERD # runtime dependency
  12. select BR2_PACKAGE_HOST_GO
  13. select BR2_PACKAGE_IPTABLES # runtime dependency
  14. select BR2_PACKAGE_LIBSECCOMP
  15. help
  16. Docker is a platform to build, ship,
  17. and run applications as lightweight containers.
  18. https://github.com/docker/docker
  19. if BR2_PACKAGE_DOCKER_ENGINE
  20. config BR2_PACKAGE_DOCKER_ENGINE_DRIVER_BTRFS
  21. bool "btrfs filesystem driver"
  22. depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_12
  23. help
  24. Build the btrfs filesystem driver for Docker.
  25. comment "brtfs filesystem driver needs headers >= 4.12"
  26. depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_12
  27. config BR2_PACKAGE_DOCKER_ENGINE_DRIVER_DEVICEMAPPER
  28. bool "devicemapper filesystem driver"
  29. depends on BR2_TOOLCHAIN_HAS_THREADS # lvm2
  30. depends on BR2_USE_MMU # lvm2
  31. depends on !BR2_STATIC_LIBS # lvm2
  32. select BR2_PACKAGE_LVM2
  33. help
  34. Build the devicemapper filesystem driver for Docker.
  35. config BR2_PACKAGE_DOCKER_ENGINE_DRIVER_VFS
  36. bool "vfs filesystem driver"
  37. depends on BR2_USE_WCHAR # gvfs
  38. depends on BR2_USE_MMU # gvfs
  39. depends on BR2_TOOLCHAIN_HAS_THREADS # gvfs
  40. depends on !BR2_STATIC_LIBS # gvfs
  41. select BR2_PACKAGE_GVFS
  42. help
  43. Build the vfs filesystem driver for Docker.
  44. choice
  45. bool "support docker-init"
  46. default BR2_PACKAGE_DOCKER_ENGINE_DOCKER_INIT_TINI if BR2_PACKAGE_DOCKER_ENGINE_DOCKER_INIT # legacy
  47. help
  48. Support providing a minimal init process for containers.
  49. Required to use "docker run --init".
  50. config BR2_PACKAGE_DOCKER_ENGINE_DOCKER_INIT_NONE
  51. bool "none"
  52. help
  53. Do not support docker-init.
  54. config BR2_PACKAGE_DOCKER_ENGINE_DOCKER_INIT_CATATONIT
  55. bool "catatonit"
  56. select BR2_PACKAGE_CATATONIT # runtime
  57. help
  58. Support providing a minimal init process for containers,
  59. using catatonit.
  60. config BR2_PACKAGE_DOCKER_ENGINE_DOCKER_INIT_TINI
  61. bool "tini"
  62. select BR2_PACKAGE_TINI # runtime
  63. help
  64. Support providing a minimal init process for containers,
  65. using tini.
  66. endchoice
  67. config BR2_PACKAGE_DOCKER_ENGINE_DOCKER_INIT_NAME
  68. string
  69. default "tini" if BR2_PACKAGE_DOCKER_ENGINE_DOCKER_INIT_TINI
  70. default "catatonit" if BR2_PACKAGE_DOCKER_ENGINE_DOCKER_INIT_CATATONIT
  71. endif
  72. comment "docker-engine needs a glibc or musl toolchain w/ threads, headers >= 3.17"
  73. depends on BR2_PACKAGE_HOST_GO_TARGET_ARCH_SUPPORTS
  74. depends on BR2_PACKAGE_HOST_GO_TARGET_CGO_LINKING_SUPPORTS
  75. depends on BR2_PACKAGE_LIBSECCOMP_ARCH_SUPPORTS
  76. depends on !BR2_TOOLCHAIN_HAS_THREADS || \
  77. BR2_TOOLCHAIN_USES_UCLIBC || \
  78. !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_17
  79. depends on BR2_USE_MMU