0

Unable to run docker without root permission. If run with root permission, dts command is failing.
$ dts challenges submit
INFO:dts:duckietown-shell 4.0.26
dts : Problems with a command?
:
: Report here: https://github.com/duckietown/duckietown-shell-commands/issues
:
: Troubleshooting:
:
: – If some commands update fail, delete ~/.dt-shell/commands
:
: – To reset the shell to “factory settings”, delete ~/.dt-shell
:
: (Note: you will have to re-configure.)
INFO:dts:duckietown-shell-commands 4.0.43
INFO:duckietown-challenges:duckietown-challenges 4.0.30
dts : I cannot communicate with Docker:
: (‘Connection aborted.’, PermissionError(13, ‘Permission denied’))
:
: Make sure the docker service is running.
dts : If you think this is a bug, please report that you are using:
:
: duckietown-shell-commands: 4.0.43
: duckietown-challenges: 4.0.30
: python: “3.6.8 (default, May 7 2019, 14:58:50) n[GCC 5.4.0 20160609]”
: duckietown-shell: 4.0.26
: encodings:
: stdout: UTF-8
: stderr: UTF-8
: locale: UTF-8

Posted new comment

A workaround for now is executing the below command:

sudo chmod 666 /var/run/docker.sock