出现问题
can’t run as root without the -u switch
解决办法
docker run -d -p 11211:11211 --name jmemcached memcached -u root
-u root 使用 root来执行,docker容器就不会自动退出。否则可能会出现刚启动容器就会自动退出。
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://www.gkxyz.com/docker-anzhuang-memcached-chuxian-cant-run-as-root-without-the-u-switch.html
主机商介绍:RAKsmart是知名的美国服务器租用商,包括美国站群服务器、美国cn2服务器、香港服务器等热门产 […]
Deploy more with Linux virtual machines, global infrast […]
选择您的网站托管解决方案,打造完美网站!从共享主机和域名到VPS – 我们拥有您网上成功所需的一切 […]
阿里云——阿里巴巴集团旗下公司,是全球领先的云计算及人工智能科技公司之一。提供免费试用、云服务器、云数据库、云 […]
Helping millions of developers easily build, test, mana […]
Our web hosting is trusted by more than 2,800,000 domai […]
评论已关闭