Interface LinuxCapabilities.Builder

  • Method Details

    • includeWithStrings

      LinuxCapabilities.Builder includeWithStrings(Collection<String> include)

      The list of Linux capabilities to add to the container's default configuration. Specify each capability as a string from the set of supported capability names (for example, NET_BIND_SERVICE or SYS_PTRACE).

      Parameters:
      include - The list of Linux capabilities to add to the container's default configuration. Specify each capability as a string from the set of supported capability names (for example, NET_BIND_SERVICE or SYS_PTRACE).
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • includeWithStrings

      LinuxCapabilities.Builder includeWithStrings(String... include)

      The list of Linux capabilities to add to the container's default configuration. Specify each capability as a string from the set of supported capability names (for example, NET_BIND_SERVICE or SYS_PTRACE).

      Parameters:
      include - The list of Linux capabilities to add to the container's default configuration. Specify each capability as a string from the set of supported capability names (for example, NET_BIND_SERVICE or SYS_PTRACE).
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • include

      The list of Linux capabilities to add to the container's default configuration. Specify each capability as a string from the set of supported capability names (for example, NET_BIND_SERVICE or SYS_PTRACE).

      Parameters:
      include - The list of Linux capabilities to add to the container's default configuration. Specify each capability as a string from the set of supported capability names (for example, NET_BIND_SERVICE or SYS_PTRACE).
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • include

      The list of Linux capabilities to add to the container's default configuration. Specify each capability as a string from the set of supported capability names (for example, NET_BIND_SERVICE or SYS_PTRACE).

      Parameters:
      include - The list of Linux capabilities to add to the container's default configuration. Specify each capability as a string from the set of supported capability names (for example, NET_BIND_SERVICE or SYS_PTRACE).
      Returns:
      Returns a reference to this object so that method calls can be chained together.