Sure xginn8 I can share the linux issue as well:
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
---> 8bdeb165a31e
Step 3/7 : COPY ./requirements.txt /tmp/
---> Using cache
---> c51ccb3e3a0e
Step 4/7 : RUN pip3 install -r /tmp/requirements.txt
---> Using cache
---> 83cd89631cc9
Step 5/7 : COPY ./src /usr/src/app
---> Using cache
---> 80ceb4cc385f
Step 6/7 : WORKDIR /usr/src/app
---> Using cache
---> 61b852637d5d
Step 7/7 : CMD ["python3", "/usr/src/app/preload.py"]
---> Using cache
---> 41ea4442f3ad
Successfully built 41ea4442f3ad
Successfully tagged balena/balena-preload:latest
Waiting for Docker to start...
Exception in thread background thread for pid 210:
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/tmp8xu16hgs/docker --host=tcp://0.0.0.0:32979
STDOUT:
STDERR:
time="2019-01-07T15:02:00.777998113Z" level=warning msg="[!] DON'T BIND ON ANY IP ADDRESS WITHOUT setting --tlsverify IF YOU DON'T KNOW WHAT YOU'RE DOING [!]"
time="2019-01-07T15:02:00.778426725Z" level=info msg="libcontainerd: new containerd process, pid: 232"
Error starting daemon: error initializing graphdriver: driver not supported
Traceback (most recent call last):
File "/usr/src/app/preload.py", line 825, in <module>
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 668, in get_images_and_supervisor_version
return _get_images_and_supervisor_version(inner_image_path)
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/tmp8xu16hgs/docker --host=tcp://0.0.0.0:32979
STDOUT:
STDERR:
time="2019-01-07T15:02:00.777998113Z" level=warning msg="[!] DON'T BIND ON ANY IP ADDRESS WITHOUT setting --tlsverify IF YOU DON'T KNOW WHAT YOU'RE DOING [!]"
time="2019-01-07T15:02:00.778426725Z" level=info msg="libcontainerd: new containerd process, pid: 232"
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
It would seem the aufs docker driver is not installed for my version of docker. I’m looking into it now. My docker version is
Docker version 18.09.0, build 4d60db4
And I’m running Ubuntu 18.04 x64 here. docker info
shows this:
Containers: 106
Running: 0
Paused: 0
Stopped: 106
Images: 726
Server Version: 18.09.0
Storage Driver: overlay2
Backing Filesystem: extfs
Supports d_type: true
Native Overlay Diff: true
Logging Driver: json-file
Cgroup Driver: cgroupfs
Plugins:
Volume: local
Network: bridge host macvlan null overlay
Log: awslogs fluentd gcplogs gelf journald json-file local logentries splunk syslog
Swarm: inactive
Runtimes: runc
Default Runtime: runc
Init Binary: docker-init
containerd version: c4446665cb9c30056f4998ed953e6d4ff22c7c39
runc version: 4fc53a81fb7c994640722ac585fa9ca548971871
init version: fec3683
Security Options:
apparmor
seccomp
Profile: default
Kernel Version: 4.15.18-041518-generic
Operating System: Ubuntu 18.04.1 LTS
OSType: linux
Architecture: x86_64
CPUs: 12
Total Memory: 31.28GiB
Name: Unicorn
ID: WI2Q:7EOB:AT26:237A:TZBB:PJQA:3LYO:FG6T:AANQ:A6ZE:4OFD:VSO4
Docker Root Dir: /var/lib/docker
Debug Mode (client): false
Debug Mode (server): false
Registry: https://index.docker.io/v1/
Labels:
Experimental: false
Insecure Registries:
127.0.0.0/8
Live Restore Enabled: false
Product License: Community Engine
Any help you can provide would be appreciated.
Thanks.