/** * Adds a file system binding. Consider using {@link #withFileSystemBind(String, String, BindMode)} * for building a container in a fluent style. * * @param hostPath the file system path on the host * @param containerPath the file system path inside the container * @param mode the bind mode */ default void addFileSystemBind(final String hostPath, final String containerPath, final BindMode mode) { addFileSystemBind(hostPath, containerPath, mode, SelinuxContext.NONE); }
/** * Adds a file system binding. Consider using {@link #withFileSystemBind(String, String, BindMode)} * for building a container in a fluent style. * * @param hostPath the file system path on the host * @param containerPath the file system path inside the container * @param mode the bind mode */ default void addFileSystemBind(final String hostPath, final String containerPath, final BindMode mode) { addFileSystemBind(hostPath, containerPath, mode, SelinuxContext.NONE); }