Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG]: /sys/fs/cgroup has no file in busybox image #1247

Closed
Ace-Tang opened this issue Apr 27, 2018 · 6 comments
Closed

[BUG]: /sys/fs/cgroup has no file in busybox image #1247

Ace-Tang opened this issue Apr 27, 2018 · 6 comments
Assignees
Labels
kind/bug This is bug report for project

Comments

@Ace-Tang
Copy link
Contributor

Ⅰ. Issue Description

Running a container with pouch, and check ls /sys/fs/cgroup is null

ace@www:~/go/src/github.com/docker/docker  (v1.12.6) time-> 六 4月 28 00:12:17
$ sudo pouch run -it registry.hub.docker.com/library/busybox:1.28 sh
/ # ls /sys/fs/cgroup/
/ # exit
ace@www:~/go/src/github.com/docker/docker  (v1.12.6) time-> 六 4月 28 00:12:43
$ sudo pouch run -it reg.docker.alibaba-inc.com/base/busybox:latest sh
/ # ls /sys/fs/cgroup/
/ # 

while I run a container with moby, I found that ls /sys/fs/cgroup has files

ace@www:~/go/src/github.com/docker/docker  (v1.12.6) time-> 五 4月 27 23:21:45
$ docker run -d  reg.docker.alibaba-inc.com/base/busybox:latest top
06855cad26a3116cd788a60c952e3d010a5e2b2e19d93d382818210215a1b33a

ace@www:~/go/src/github.com/docker/docker  (v1.12.6) time-> 五 4月 27 23:22:01
$ docker exec -it 06855cad26a3 sh
/ # ls /sys/fs/cgroup/
blkio             cpu,cpuacct       cpuset            freezer           memory            net_cls,net_prio  perf_event        systemd
cpu               cpuacct           devices           hugetlb           net_cls           net_prio          pids

I wonder that is images pulled by pouch and moby are different .

Ⅱ. Describe what happened

Ⅲ. Describe what you expected to happen

Ⅳ. How to reproduce it (as minimally and precisely as possible)

Ⅴ. Anything else we need to know?

Ⅵ. Environment:

  • pouch version (use pouch version):
  • OS (e.g. from /etc/os-release):
  • Kernel (e.g. uname -a):
  • Install tools:
  • Others:
@pouchrobot pouchrobot added the kind/bug This is bug report for project label Apr 27, 2018
@fuweid
Copy link
Contributor

fuweid commented Apr 28, 2018

Hi @Ace-Tang , is the #1227 PR used to fix this issue? If not, I would like to take a look.

@Ace-Tang
Copy link
Contributor Author

@fuweid , no, the pr #1227 is influenced by this issue, I will be glad if you can help this.

@fuweid
Copy link
Contributor

fuweid commented Apr 28, 2018

Got it. Thanks

@fuweid fuweid self-assigned this Apr 28, 2018
@Ace-Tang
Copy link
Contributor Author

hi, @fuweid , do you have some update?

@fuweid
Copy link
Contributor

fuweid commented May 11, 2018

@Ace-Tang still investigating...

@fuweid
Copy link
Contributor

fuweid commented May 14, 2018

Fixed by #1314

@fuweid fuweid closed this as completed May 14, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug This is bug report for project
Projects
None yet
Development

No branches or pull requests

3 participants