Balena preload throws error: DON'T BIND ON ANY IP ADDRESS WITHOUT setting --tlsverify IF YOU DON'T KNOW WHAT YOU'RE DOING

➜ balena preload ~/Downloads/balena-cloud-smartmon-raspberrypi3-2.26.0+rev1-v8.0.0.img
Building Docker preloader image. [========================] 100%

/ Creating preloader container
| Starting preloader container
\ Reading image information
1: Step 1/7 : FROM docker:17.10.0-ce-dind
—> 9769e0f3f9cb
Step 2/7 : RUN apk update && apk add --no-cache python3 parted btrfs-progs docker util-linux sfdisk file coreutils sgdisk
—> Using cache
—> f4143594d1e2
Step 3/7 : COPY ./requirements.txt /tmp/
—> Using cache
—> e8f5ba296c0c
Step 4/7 : RUN pip3 install -r /tmp/requirements.txt
—> Using cache
—> ca45f855d744
Step 5/7 : COPY ./src /usr/src/app
—> Using cache
—> 09f2ba5228f1
Step 6/7 : WORKDIR /usr/src/app
—> Using cache
—> 7b3db7ef9bbd
Step 7/7 : CMD [“python3”, “/usr/src/app/preload.py”]
—> Using cache
—> ed3184c84eca
Successfully built ed3184c84eca
Successfully tagged balena/balena-preload:latest
Waiting for Docker to start…
Exception in thread background thread for pid 108:
Traceback (most recent call last):
File “/usr/lib/python3.6/threading.py”, line 916, in _bootstrap_inner
self.run()
File “/usr/lib/python3.6/threading.py”, line 864, in run
self._target(*self._args, **self._kwargs)
File “/usr/lib/python3.6/site-packages/sh.py”, line 1540, in wrap
fn(*args, **kwargs)
File “/usr/lib/python3.6/site-packages/sh.py”, line 2459, in background_thread
handle_exit_code(exit_code)
File “/usr/lib/python3.6/site-packages/sh.py”, line 2157, in fn
return self.command.handle_command_exit_code(exit_code)
File “/usr/lib/python3.6/site-packages/sh.py”, line 815, in handle_command_exit_code
raise exc
sh.ErrorReturnCode_1:

RAN: /usr/local/bin/dockerd --storage-driver=aufs --data-root=/tmp/tmpjtndkyic/docker --host=tcp://0.0.0.0:63351

STDOUT:

STDERR:
time=“2018-12-14T09:08:23.044691900Z” level=warning msg="[!] DON’T BIND ON ANY IP ADDRESS WITHOUT setting --tlsverify IF YOU DON’T KNOW WHAT YOU’RE DOING [!]"
time=“2018-12-14T09:08:23.045809300Z” level=info msg=“libcontainerd: new containerd process, pid: 127”
Error starting daemon: error initializing graphdriver: driver not supported

Traceback (most recent call last):
File “/usr/src/app/preload.py”, line 825, in
result = method(**data.get(“parameters”, {}))
File “/usr/src/app/preload.py”, line 785, in get_image_info
images, supervisor_version = get_images_and_supervisor_version()
File “/usr/src/app/preload.py”, line 669, in get_images_and_supervisor_version
return _get_images_and_supervisor_version()
File “/usr/src/app/preload.py”, line 644, in _get_images_and_supervisor_version
with docker_context_manager(driver, mountpoint):
File “/usr/lib/python3.6/contextlib.py”, line 81, in enter
return next(self.gen)
File “/usr/src/app/preload.py”, line 511, in docker_context_manager
running_dockerd = start_docker_daemon(storage_driver, docker_dir)
File “/usr/src/app/preload.py”, line 480, in start_docker_daemon
running_dockerd.wait()
File “/usr/lib/python3.6/site-packages/sh.py”, line 792, in wait
self.handle_command_exit_code(exit_code)
File “/usr/lib/python3.6/site-packages/sh.py”, line 815, in handle_command_exit_code
raise exc
sh.ErrorReturnCode_1:

RAN: /usr/local/bin/dockerd --storage-driver=aufs --data-root=/tmp/tmpjtndkyic/docker --host=tcp://0.0.0.0:63351

STDOUT:

STDERR:
time=“2018-12-14T09:08:23.044691900Z” level=warning msg="[!] DON’T BIND ON ANY IP ADDRESS WITHOUT setting --tlsverify IF YOU DON’T KNOW WHAT YOU’RE DOING [!]"
time=“2018-12-14T09:08:23.045809300Z” level=info msg=“libcontainerd: new containerd process, pid: 127”
Error starting daemon: error initializing graphdriver: driver not supported

If you need help, don’t hesitate in contacting us at:

GitHub: https://github.com/balena-io/balena-cli/issues/new
Forums: https://forums.balena.io

Hi,
It seems like you are missing the aufs kernel module. Can you check if this is available?
Best regards,
Andreas