Docker Community Forums

Share and learn in the Docker community.

Cannot run hello-world container after installing docker

Hello,

I’m trying to get docker-ce working. My system is a Nvidia Tegra TX1 (armv8hf) with a 64bit 4.4.159 Linux Kernel and Ubuntu 18.04. The underlying file system is ext4. My kernel .config can be found here. The /etc/docker/daemon.json contains:

{
"storage-driver": "overlay2",
"debug": true
}

I installed docker according to the official online documentation (can’t link because I am too new) by executing the following instructions:

sudo apt install apt-transport-https ca-certificates curl gnupg-agent software-properties-common
sudo apt purge docker docker-engine docker.io containerd runc
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
sudo add-apt-repository "deb [arch=arm64] https://download.docker.com/linux/ubuntu bionic stable"
sudo apt update 
sudo apt install docker-ce docker-ce-cli containerd.io

which resulted in the system having

containerd.io/bionic,now 1.2.10-3 arm64 [installed]
docker-ce/bionic,now 5:19.03.5~3-0~ubuntu-bionic arm64 [installed]
docker-ce-cli/bionic,now 5:19.03.5~3-0~ubuntu-bionic arm64 [installed]

I then ran

sudo docker run hello-world

which produced the following output:

Unable to find image 'hello-world:latest' locally
latest: Pulling from library/hello-world 
256ab8fe8778: Pull complete 
Digest: sha256:9572f7cdcee8591948c2963463447a53466950b3fc15a247fcad1917ca215a2f
Status: Downloaded newer image for hello-world:latest
docker: Error response from daemon: OCI runtime create failed: json: cannot unmarshal object into Go 
value of type []string: unknown.
ERRO[0002] error waiting for container: context canceled

I don’t actually have golang installed on this machine, but I couldn’t determine that I needed to have it installed for docker to work. The message is not descriptive enough for me to determine where to fix the problem and similar error messages on the internet were solved by updating. I have the latest versions, so I came to this forum, hoping that there are others wiser than me. The full output of dockerd from startup to when the output fails can be found here.

I suppose nobody knows what docker does when the hello-world container is started?