Error installing docker-ce in Debian 9 with kernel 4.16.0

On Debian 9 with backported kernel 4.16 I get an error installing docker-ce:

...    
Selecting previously unselected package linux-headers-amd64.
Preparing to unpack .../11-linux-headers-amd64_4.16+94~bpo9+1_amd64.deb ...
Unpacking linux-headers-amd64 (4.16+94~bpo9+1) ...
Setting up aufs-tools (1:4.1+20161219-1) ...
Setting up linux-headers-amd64 (4.16+94~bpo9+1) ...
Setting up gcc (4:6.3.0-4) ...
Setting up cgroupfs-mount (1.3) ...
Setting up dkms (2.3-2) ...
Setting up linux-kbuild-4.9 (4.9.110-1) ...
Processing triggers for libc-bin (2.24-11+deb9u3) ...
Setting up libfakeroot:amd64 (1.21-3.1) ...
Processing triggers for systemd (232-25+deb9u4) ...
Setting up libltdl7:amd64 (2.4.6-2) ...
Setting up pigz (2.3.4-1) ...
Setting up docker-ce (18.06.0~ce~3-0~debian) ...
Setting up aufs-dkms (4.9+20161219-1) ...
Loading new aufs-4.9+20161219 DKMS files...
Building for 4.16.0-0.bpo.2-amd64
Building initial module for 4.16.0-0.bpo.2-amd64
Error!  The dkms.conf for this module includes a BUILD_EXCLUSIVE directive which
does not match this kernel/arch.  This indicates that it should not be built.
Skipped.
...

output of ‘uname -r’ is:

4.16.0-0.bpo.2-amd64

Output of 'ls -al /usr/src/linux-headers-($uname -r)

total 1572
drwxr-xr-x 4 root root    4096 Jul 26 21:05 .
drwxr-xr-x 5 root root    4096 Jul 26 21:22 ..
-rw-r--r-- 1 root root  203117 Jun 26 02:25 .config
-rw-r--r-- 1 root root     249 Jun 26 02:25 .kernelvariables
-rw-r--r-- 1 root root     318 Jun 26 02:25 Makefile
-rw-r--r-- 1 root root 1379421 Jun 26 02:25 Module.symvers
drwxr-xr-x 3 root root    4096 Jul 26 21:05 arch
drwxr-xr-x 4 root root    4096 Jul 26 21:05 include
lrwxrwxrwx 1 root root      35 Jun 26 02:25 scripts -> ../../lib/linux-kbuild-4.16/scripts
lrwxrwxrwx 1 root root      33 Jun 26 02:25 tools -> ../../lib/linux-kbuild-4.16/tools

Output of ‘apt search linux-headers-*’:

aufs-dkms/stable,now 4.9+20161219-1 amd64 [installed,automatic]
DKMS files to build and install aufs

linux-headers-4.16.0-0.bpo.2-all/stretch-backports 4.16.16-2~bpo9+1 amd64
All header files for Linux 4.16 (meta-package)

linux-headers-4.16.0-0.bpo.2-all-amd64/stretch-backports 4.16.16-2~bpo9+1 amd64
All header files for Linux 4.16 (meta-package)

linux-headers-4.16.0-0.bpo.2-amd64/stretch-backports,now 4.16.16-2~bpo9+1 amd64 [installed]
Header files for Linux 4.16.0-0.bpo.2-amd64

linux-headers-4.16.0-0.bpo.2-cloud-amd64/stretch-backports 4.16.16-2~bpo9+1 amd64
Header files for Linux 4.16.0-0.bpo.2-cloud-amd64

linux-headers-4.16.0-0.bpo.2-common/stretch-backports,now 4.16.16-2~bpo9+1 all [installed,automatic]
Common header files for Linux 4.16.0-0.bpo.2

linux-headers-4.16.0-0.bpo.2-common-rt/stretch-backports 4.16.16-2~bpo9+1 all
Common header files for Linux 4.16.0-0.bpo.2-rt

linux-headers-4.16.0-0.bpo.2-rt-amd64/stretch-backports 4.16.16-2~bpo9+1 amd64
Header files for Linux 4.16.0-0.bpo.2-rt-amd64
....

I suppose there is some confusion about the exact version, since there is also mention of ‘4.16.16-2’ in the backports repository.
How can I fix this?

Hi,

Did you find a solution for this? I am having the same issue.

Thanks

Sorry, no. I gave up on Debian 9 and moved to 10 (Buster) which is now in Testing. Works out of the box with Docker.