Merge pull request #13399 from hqhq/hq_fix_run_test
Fix test failure when --net none build
This commit is contained in:
commit
23e8dff9e7
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…
Reference in a new issue