ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | Q&A
Ask Your Question

Permission Denied Autoware Docker

asked 2020-07-08 15:30:44 -0500

DamianHarty gravatar image

O Learned Denizens,

This is the same question as here but the answer there - to do with groups - isn't working for me.

Launching autoware/autoware:1.13.0-melodic
docker: Got permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Post http://%2Fvar%2Frun%2Fdocker.sock/v1.40/containers/create: dial unix /var/run/docker.sock: connect: permission denied.

I am in a group called docker that I created doing

sudo group add docker

...and added myself using

sudo usermod -aG docker damian

...which apparently succeeded:

damian@UbuntiBookPro:~$ groups
damian adm cdrom sudo dip plugdev lpadmin lxd sambashare docker

What's next on the list to try?

edit retag flag offensive close merge delete


After you added yourself to the docker group, did you either restart or log out and back in? Changes to groups don't apply until you do one of these.

Josh Whitley gravatar image Josh Whitley  ( 2020-07-08 22:03:28 -0500 )edit

2 Answers

Sort by ยป oldest newest most voted

answered 2020-07-10 16:37:43 -0500

DamianHarty gravatar image

Logging out and in again didn't do it, but restarting did. Thanks!

edit flag offensive delete link more

answered 2020-07-09 03:16:56 -0500

kosmastsk gravatar image

Run newgrp docker if you are running Linux. If you still cannot launch it, try to run ./run -s

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2020-07-08 15:30:44 -0500

Seen: 300 times

Last updated: Jul 09 '20