【问题标题】:Start Docker Daemon as other user以其他用户身份启动 Docker Daemon
【发布时间】:2016-12-27 05:23:05
【问题描述】:

伙计们,我需要在我的 Ubuntu 14.04 下以其他用户身份启动 docker daemon .. 我在 sudoers 组和 docker 组中有这个用户,但是,我需要的是 docker 守护进程作为我的“测试”用户运行。

test@test:/usr/bin$ 启动泊坞窗

start:拒绝发送消息,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 ")

如何在没有 sudo 的“测试”用户下运行 docker daemon?

【问题讨论】:

    标签: linux ubuntu docker daemons


    【解决方案1】:

    你不能,Docker 需要 root 权限才能运行。没有root权限就无法执行隔离进程、挂载文件系统、配置私有网络堆栈等技术。

    【讨论】:

      猜你喜欢
      • 2012-01-17
      • 2013-09-18
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2016-08-13
      相关资源
      最近更新 更多