Docker 安装 memcached 出现 can’t run as root without the -u switch

标签:,
来源: 老季博客
日期: 2019-9-5
作者: 腾讯云/服务器VPS推荐评测/Vultr
阅读数: 51

出现问题

can’t run as root without the -u switch

解决办法

docker run -d -p 11211:11211 --name jmemcached memcached -u root

-u root 使用 root来执行,docker容器就不会自动退出。否则可能会出现刚启动容器就会自动退出。

链接到文章: https://jiloc.com/46283.html

发表回复

您的电子邮箱地址不会被公开。 必填项已用*标注