在docker中使用iptables命令时候,提示需要root用户
环境说明;在Docker容器中操作:sudo iptables -L -n说明:docker默认使用的是Ubuntu操作系统。所以,上面命令是Ubuntu查看iptables命令。出现的情况:iptablesv1.4.21:can'tinitializeiptablestable`filter':Permissiondenied(youmustbero
环境说明;
在Docker容器中
操作:
sudo iptables -L -n
说明:docker默认使用的是Ubuntu操作系统。所以,上面命令是Ubuntu查看iptables命令。
出现的情况:
iptables v1.4.21: can't initialize iptables table `filter
原创不易,完成人机校验,阅读全文
相关推荐
DOCKER使用docker制作Ubuntu镜像时候,yum命令失败经验分享【已解决】项目中使用websocket的时候,使用Junit自测其他diam提示:webSocket初始化失败怎么办?宝塔面板远程连接宝塔服务器创建的mysql。包括root用户远程连接经验分享【已解决】在idea中使用git命令的时候提示:warning: encountered old-style '/bin/curl-ca-bundle.crt' that should be '%(prefix)//bin/curl-ca-bundle.crt' 怎么解决经验分享idea 启动命令行的时候提示不能创建PTYDOCKER在docker中执行某些命令的时候 docker bash: xxx : command not found 通用解决方案DOCKERDocker学习2-常用命令之启动命令和镜像命令DOCKERDocker学习系列3:常用命令之容器命令