Ask Your Question
0

Permission Denied Autoware Docker

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

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

Comments

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 -0600 )edit

2 Answers

Sort by ยป oldest newest most voted
1

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

DamianHarty gravatar image

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

edit flag offensive delete link more
0

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

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

Stats

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

Seen: 163 times

Last updated: Jul 09 '20