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

docker export busybox文件系统 #67

Open
elanuser opened this issue Feb 19, 2020 · 2 comments
Open

docker export busybox文件系统 #67

elanuser opened this issue Feb 19, 2020 · 2 comments

Comments

@elanuser
Copy link

elanuser commented Feb 19, 2020

执行下面命令进行导出busybox文件系统,跟书上导出差距很大

docker pull busybox
docker run -d busybox top -b
docker export -o busybox.tar 6751d18acb09(容器id)
tar -xvf busybox.tar -C busybox
# ls
bin  dev  etc  home  proc  root  sys  tmp  usr  var
  1. 但是没有sys目录,这就导致cgroup设置失效。
  2. proc目录为空
@Joey777210
Copy link

遇到了同样的问题!/proc为空,不知你是否也遇到了,在busybox中查询mount point和ps都为空的情况?请问你找到了原因吗?

@zmc-x
Copy link

zmc-x commented Aug 2, 2024

busybox运行起来就好了。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants