作为其他用户启动Docker守护进程

伙计们,我需要启动docker守护进程作为我的Ubuntu 14.04下的其他用户..我有这个用户在sudoers的组和泊坞窗的组,但是,我需要的是作为我的“testing”用户运行的docker守护进程。

test @ test:/ usr / bin $ start docker

开始:拒绝发送消息,1匹配规则; type =“method_call”,sender =“:1.88”(uid = 1100 pid = 24071 comm =“start docker”)interface =“com.ubuntu.Upstart0_6.Job”member =“Start”error name =“(unset)” requested_reply =“0”destination =“com.ubuntu.Upstart”(uid = 0 pid = 1 comm =“/ sbin / init”)

我可以做什么来运行docker守护进程下我的“testing”用户没有sudo?

你不能,Docker需要root权限才能运行。 隔离进程,挂载文件系统,configuration专用networking堆栈等的技术不能在没有root权限的情况下执行。