首页 code
docker 使用
发布时间:2018年04月25日 评论数:抢沙发 阅读数:16991
RUN/CMD/COPY
run/exec -it container /bin/bash..
.....
container中获得root权限
使用iptables时,返回
can't initialize iptables table `filter': Permission denied (you must be root)
Perhaps iptables or your kernel needs to be upgraded.
原因是docker run image 的时候需要加 --privileged
本文作者:admin
文章标题: docker 使用
本文地址:http://jiang.shuang.he.cn/blog/?post=31
版权声明:若无注明,本文皆为“”原创,转载请保留文章出处。
本文地址:http://jiang.shuang.he.cn/blog/?post=31
版权声明:若无注明,本文皆为“”原创,转载请保留文章出处。
相关文章