I tried to install docker on TX2 following the official website Install Docker Engine on Ubuntu | Docker Documentation, but I run into an error.
Steps are shown blow:
1.Uninstall older versions:
sudo apt-get remove docker docker-engine docker.io containerd runc
2.SET UP THE REPOSITORY:
sudo apt-get update
sudo apt-get install
apt-transport-https
ca-certificates
curl
gnupg-agent
software-properties-common
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
sudo add-apt-repository
“deb [arch=arm64] Index of linux/ubuntu/
$(lsb_release -cs)
stable”
3.INSTALL DOCKER ENGINE - COMMUNITY:
sudo apt-get update
sudo apt-get install docker-ce docker-ce-cli containerd.io
RESULTS:
Job for docker.service failed because the control process exited with error code. See “systemctl status docker.service” and “journalctl -xe” for details.
invoke-rc.d: initscript docker, action “start” failed.
● docker.service - Docker Application Container Engine
Loaded: loaded (/lib/systemd/system/docker.service; enabled; vendor preset: enabled)
Active: activating (auto-restart) (Result: exit-code) since Mon 2019-07-29 21:24:24 CST; 11ms ago
Docs: https://docs.docker.com
Process: 9249 ExecStart=/usr/bin/dockerd -H fd:// --containerd=/run/containerd/containerd.sock (code=exited, status=1/FAILURE)
Main PID: 9249 (code=exited, status=1/FAILURE)
Jul 29 21:24:24 tegra-ubuntu systemd[1]: Failed to start Docker Application Container Engine.
Jul 29 21:24:24 tegra-ubuntu systemd[1]: docker.service: Unit entered failed state.
Jul 29 21:24:24 tegra-ubuntu systemd[1]: docker.service: Failed with result ‘exit-code’.
QUESTIONS:
1.Directly: how to solve the problem above?
2.JetPack version: # R28 (release), REVISION: 1.0, GCID: 9436269, BOARD: t186ref, EABI: aarch64, DATE: Fri Jul 28 17:04:29 UTC 2017
How to get JetPack version with the format “JetPack d.d”
Any relations with the VERSION?
3.Is it necessary to upgrade JetPack to the latest version when develop with JETSON TX2?
I haven’t done that.