Index: pkg/mod/github.com/docker/docker@v0.7.3-0.20190212235812-0111ee70874a/pkg/mount/mountinfo_freebsd.go
--- pkg/mod/github.com/docker/docker@v0.7.3-0.20190212235812-0111ee70874a/pkg/mount/mountinfo_freebsd.go.orig	2020-01-26 09:14:25.000000000 +0100
+++ pkg/mod/github.com/docker/docker@v0.7.3-0.20190212235812-0111ee70874a/pkg/mount/mountinfo_freebsd.go	2020-01-26 09:19:49.320113000 +0100
@@ -37,7 +37,7 @@
 
 		if filter != nil {
 			// filter out entries we're not interested in
-			skip, stop = filter(p)
+			skip, stop = filter(&mountinfo)
 			if skip {
 				continue
 			}
Index: pkg/mod/github.com/docker/docker@v0.7.3-0.20190212235812-0111ee70874a/pkg/system/mknod.go
--- pkg/mod/github.com/docker/docker@v0.7.3-0.20190212235812-0111ee70874a/pkg/system/mknod.go.orig	2020-01-26 09:14:25.000000000 +0100
+++ pkg/mod/github.com/docker/docker@v0.7.3-0.20190212235812-0111ee70874a/pkg/system/mknod.go	2020-01-26 09:20:30.628324000 +0100
@@ -9,7 +9,7 @@
 // Mknod creates a filesystem node (file, device special file or named pipe) named path
 // with attributes specified by mode and dev.
 func Mknod(path string, mode uint32, dev int) error {
-	return unix.Mknod(path, mode, dev)
+	return unix.Mknod(path, mode, uint64(dev))
 }
 
 // Mkdev is used to build the value of linux devices (in /dev/) which specifies major
