This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AM5718: TMDCIDK5718, Running Docker Engine

Part Number: AM5718

Hello,

Im trying to run docker container on AM5718, im using the prebuilt image: tisdk-docker-rootfs-image-am57xx-evm.tar.xz

root@am57xx-evm:~# docker ps
Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?
root@am57xx-evm:~# dockerd
INFO[2023-06-30T20:05:11.568756103Z] Starting up                                  
INFO[2023-06-30T20:05:11.575927734Z] libcontainerd: started new containerd process  pid=1963
INFO[2023-06-30T20:05:11.576080322Z] parsed scheme: "unix"                         module=grpc
INFO[2023-06-30T20:05:11.576141357Z] scheme "unix" not registered, fallback to default scheme  module=grpc
INFO[2023-06-30T20:05:11.576263427Z] ccResolverWrapper: sending update to cc: {[{unix:///var/run/docker/contc
INFO[2023-06-30T20:05:11.576293945Z] ClientConn switching balancer to "pick_first"  module=grpc
INFO[2023-06-30T20:05:11.656555175Z] starting containerd                           revision=3b3e9d5f62a11415m
INFO[2023-06-30T20:05:11.657562255Z] loading plugin "io.containerd.content.v1.content"...  type=io.container1
INFO[2023-06-30T20:05:11.657653808Z] loading plugin "io.containerd.snapshotter.v1.aufs"...  type=io.containe1
WARN[2023-06-30T20:05:11.663116455Z] failed to load plugin io.containerd.snapshotter.v1.aufs  error="modprob"
INFO[2023-06-30T20:05:11.663208007Z] loading plugin "io.containerd.snapshotter.v1.native"...  type=io.contai1
INFO[2023-06-30T20:05:11.663330078Z] loading plugin "io.containerd.snapshotter.v1.overlayfs"...  type=io.con1
INFO[2023-06-30T20:05:11.663574218Z] loading plugin "io.containerd.snapshotter.v1.zfs"...  type=io.container1
INFO[2023-06-30T20:05:11.664154052Z] skip loading plugin "io.containerd.snapshotter.v1.zfs"...  type=io.cont1
INFO[2023-06-30T20:05:11.664184570Z] loading plugin "io.containerd.metadata.v1.bolt"...  type=io.containerd.1
WARN[2023-06-30T20:05:11.664276123Z] could not use snapshotter aufs in metadata plugin  error="modprobe aufs"
WARN[2023-06-30T20:05:11.664306640Z] could not use snapshotter zfs in metadata plugin  error="path /var/lib/"
INFO[2023-06-30T20:05:11.664642333Z] loading plugin "io.containerd.differ.v1.walking"...  type=io.containerd1
INFO[2023-06-30T20:05:11.664733886Z] loading plugin "io.containerd.gc.v1.scheduler"...  type=io.containerd.g1
INFO[2023-06-30T20:05:11.664855957Z] loading plugin "io.containerd.service.v1.containers-service"...  type=i1
INFO[2023-06-30T20:05:11.664916992Z] loading plugin "io.containerd.service.v1.content-service"...  type=io.c1
INFO[2023-06-30T20:05:11.664978027Z] loading plugin "io.containerd.service.v1.diff-service"...  type=io.cont1
INFO[2023-06-30T20:05:11.665039062Z] loading plugin "io.containerd.service.v1.images-service"...  type=io.co1
INFO[2023-06-30T20:05:11.665100097Z] loading plugin "io.containerd.service.v1.leases-service"...  type=io.co1
INFO[2023-06-30T20:05:11.665161132Z] loading plugin "io.containerd.service.v1.namespaces-service"...  type=i1
INFO[2023-06-30T20:05:11.665222167Z] loading plugin "io.containerd.service.v1.snapshots-service"...  type=io1
INFO[2023-06-30T20:05:11.665283203Z] loading plugin "io.containerd.runtime.v1.linux"...  type=io.containerd.1
INFO[2023-06-30T20:05:11.665527343Z] loading plugin "io.containerd.runtime.v2.task"...  type=io.containerd.r2
INFO[2023-06-30T20:05:11.665710449Z] loading plugin "io.containerd.monitor.v1.cgroups"...  type=io.container1
INFO[2023-06-30T20:05:11.667114257Z] loading plugin "io.containerd.service.v1.tasks-service"...  type=io.con1
INFO[2023-06-30T20:05:11.667205810Z] loading plugin "io.containerd.internal.v1.restart"...  type=io.containe1
INFO[2023-06-30T20:05:11.667297363Z] loading plugin "io.containerd.grpc.v1.containers"...  type=io.container1
INFO[2023-06-30T20:05:11.667358398Z] loading plugin "io.containerd.grpc.v1.content"...  type=io.containerd.g1
INFO[2023-06-30T20:05:11.997985839Z] loading plugin "io.containerd.grpc.v1.diff"...  type=io.containerd.grpc1
INFO[2023-06-30T20:05:11.998107910Z] loading plugin "io.containerd.grpc.v1.events"...  type=io.containerd.gr1
INFO[2023-06-30T20:05:11.998199462Z] loading plugin "io.containerd.grpc.v1.healthcheck"...  type=io.containe1
INFO[2023-06-30T20:05:11.998474121Z] loading plugin "io.containerd.grpc.v1.images"...  type=io.containerd.gr1
INFO[2023-06-30T20:05:11.998596191Z] loading plugin "io.containerd.grpc.v1.leases"...  type=io.containerd.gr1
INFO[2023-06-30T20:05:11.998687744Z] loading plugin "io.containerd.grpc.v1.namespaces"...  type=io.container1
INFO[2023-06-30T20:05:11.998779296Z] loading plugin "io.containerd.internal.v1.opt"...  type=io.containerd.i1
INFO[2023-06-30T20:05:11.998992919Z] loading plugin "io.containerd.grpc.v1.snapshots"...  type=io.containerd1
INFO[2023-06-30T20:05:11.999114990Z] loading plugin "io.containerd.grpc.v1.tasks"...  type=io.containerd.grp1
INFO[2023-06-30T20:05:11.999206542Z] loading plugin "io.containerd.grpc.v1.version"...  type=io.containerd.g1
INFO[2023-06-30T20:05:11.999298095Z] loading plugin "io.containerd.grpc.v1.introspection"...  type=io.contai1
INFO[2023-06-30T20:05:12.001037597Z] serving...                                    address="/var/run/docker/"
INFO[2023-06-30T20:05:12.001434326Z] serving...                                    address="/var/run/docker/"
INFO[2023-06-30T20:05:12.001556396Z] containerd successfully booted in 0.346558s  
INFO[2023-06-30T20:05:12.026519775Z] parsed scheme: "unix"                         module=grpc
INFO[2023-06-30T20:05:12.026580810Z] scheme "unix" not registered, fallback to default scheme  module=grpc
INFO[2023-06-30T20:05:12.026641845Z] ccResolverWrapper: sending update to cc: {[{unix:///var/run/docker/contc
INFO[2023-06-30T20:05:12.026702880Z] ClientConn switching balancer to "pick_first"  module=grpc
INFO[2023-06-30T20:05:12.029876708Z] parsed scheme: "unix"                         module=grpc
INFO[2023-06-30T20:05:12.029968261Z] scheme "unix" not registered, fallback to default scheme  module=grpc
INFO[2023-06-30T20:05:12.030059814Z] ccResolverWrapper: sending update to cc: {[{unix:///var/run/docker/contc
INFO[2023-06-30T20:05:12.030151367Z] ClientConn switching balancer to "pick_first"  module=grpc
ERRO[2023-06-30T20:05:12.036773681Z] Failed to built-in GetDriver graph btrfs /var/lib/docker 
ERRO[2023-06-30T20:05:12.047485351Z] failed to mount overlay: no such device       storage-driver=overlay2
ERRO[2023-06-30T20:05:12.069244384Z] AUFS was not found in /proc/filesystems       storage-driver=aufs
ERRO[2023-06-30T20:05:12.074005126Z] failed to mount overlay: no such device       storage-driver=overlay
ERRO[2023-06-30T20:05:12.074096679Z] Failed to built-in GetDriver graph devicemapper /var/lib/docker 
WARN[2023-06-30T20:05:12.102416992Z] Your kernel does not support cgroup rt period 
WARN[2023-06-30T20:05:12.102600097Z] Your kernel does not support cgroup rt runtime 
WARN[2023-06-30T20:05:12.102661132Z] Your kernel does not support cgroup blkio weight 
WARN[2023-06-30T20:05:12.102691650Z] Your kernel does not support cgroup blkio weight_device 
WARN[2023-06-30T20:05:12.102752685Z] Your kernel does not support cgroup blkio throttle.read_bps_device 
WARN[2023-06-30T20:05:12.102783203Z] Your kernel does not support cgroup blkio throttle.write_bps_device 
WARN[2023-06-30T20:05:12.102813720Z] Your kernel does not support cgroup blkio throttle.read_iops_device 
WARN[2023-06-30T20:05:12.102844238Z] Your kernel does not support cgroup blkio throttle.write_iops_device 
INFO[2023-06-30T20:05:12.103424072Z] Loading containers: start.                   
WARN[2023-06-30T20:05:12.121429443Z] Running modprobe bridge br_netfilter failed with message: modprobe: WAR3
, error: exit status 1 
WARN[2023-06-30T20:05:12.428833007Z] Could not load necessary modules for Conntrack: Running modprobe nf_con 
INFO[2023-06-30T20:05:12.429412841Z] Default bridge (docker0) is assigned with an IP address 172.17.0.0/16.  
ERRO[2023-06-30T20:05:12.499572753Z] failed to get event                           error="rpc error: code = y
INFO[2023-06-30T20:05:12.501373291Z] stopping event stream following graceful shutdown  error="context cancey
INFO[2023-06-30T20:05:12.501525878Z] stopping event stream following graceful shutdown  error="context cancey
INFO[2023-06-30T20:05:12.501617431Z] stopping healthcheck following graceful shutdown  module=libcontainerd
failed to start daemon: Error initializing network controller: Error creating default "bridge" network: Faily

Try `iptables -h' or 'iptables --help' for more information.
 (exit status 2)

root@am57xx-evm:~# docker --version
Docker version 19.03.8-ce, build afacb8b7f0