mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Fix test failure when --net none build
Closes: #13369 Signed-off-by: Qiang Huang <h.huangqiang@huawei.com>
This commit is contained in:
parent
2b8271399e
commit
c0dd8538db
1 changed files with 1 additions and 0 deletions
|
@ -1459,6 +1459,7 @@ func (s *DockerSuite) TestRunDnsOptionsBasedOnHostResolvConf(c *check.C) {
|
|||
// check if the container resolv.conf file has atleast 0644 perm.
|
||||
func (s *DockerSuite) TestRunNonRootUserResolvName(c *check.C) {
|
||||
testRequires(c, SameHostDaemon)
|
||||
testRequires(c, Network)
|
||||
|
||||
cmd := exec.Command(dockerBinary, "run", "--name=testperm", "--user=default", "busybox", "ping", "-c", "1", "www.docker.io")
|
||||
if out, err := runCommand(cmd); err != nil {
|
||||
|
|
Loading…
Add table
Reference in a new issue