Skip to content

AIC2020 MAX 10GB #10

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

Open
kooBH opened this issue Nov 19, 2020 · 2 comments
Open

AIC2020 MAX 10GB #10

kooBH opened this issue Nov 19, 2020 · 2 comments

Comments

@kooBH
Copy link
Member

kooBH commented Nov 19, 2020

rm libQt*
rm libcu*
rm libopencv*
rm libmwdiagram

Docker Image의 구조가 layer를 쌓는거라 삭제한것이 기록만 남고 실제로 용량을 줄이지 않는다.

https://github.com/jwilder/docker-squash

@kooBH
Copy link
Member Author

kooBH commented Nov 19, 2020

http://raccoonyy.github.io/whats-new-in-docker-1-13-korean/

https://thenewstack.io/how-to-enable-docker-experimental-features-and-encrypt-your-login-credentials/

(base) ➜  AIC2020 git:(master) ✗ ./build.sh
Sending build context to Docker daemon  3.133GB
Step 1/1 : FROM aic2020:v1
 ---> 62b456169d49
error squashing image: error getting tar stream to parent: layer ID 'sha256:28770782767c213009c07c441bf7c213683ffd85d522314379d596b3c0dbe7ad' is not a parent of the specified layer: cannot provide diff to non-parent
(base) ➜  AIC2020 git:(master) ✗ 

fail

@kooBH
Copy link
Member Author

kooBH commented Nov 19, 2020

https://pypi.org/project/docker-squash/

working.

11414.32MB -> 10222.52MB

rm libmwimages*
rm libg2o_*
  • toolbox
rm -r simullink*
rm -r ro*
rm -r vision

5.2G
=>10.2GB

rm libmwsl_*
  • toolbox
rm -r bioinfo

4.9G

toolbox가 mcr/toolbox랑 toolbox가 둘 다 있네, 섞어서 했었다.

  • mcr/toolbox
rm -r bioinfo
rm -r finance
rm -r aero

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

1 participant