We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c5984a2 commit 013f339Copy full SHA for 013f339
namespace/step-by-step.c
@@ -44,7 +44,7 @@ static int child_main(void *arg)
44
sleep(1); //wait for 1 second to make certain uid_map and gid_map is written
45
printf("child\n");
46
system("mount -t proc none /proc");
47
- mount("/home/baohua/test-dir", "/mnt", "none", MS_BIND, NULL);
+ mount("/home/baohua/develop/training/namespace/test-dir", "/mnt", "none", MS_BIND, NULL);
48
sethostname("container",10);
49
execlp("/bin/bash","bash",NULL,NULL);
50
return 1;
0 commit comments