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 容器给 Gaea 进行测试 (Provide a smaller size of container for Gaea usage) #224

Open
panhongrainbow opened this issue Jun 4, 2022 · 1 comment

Comments

@panhongrainbow
Copy link
Contributor

panhongrainbow commented Jun 4, 2022

小米您好

我试着做出最小的数据库容器给 Gaea 进行测试,想辨法把容器的大小压到比官方容器还要小,目前找到关键所在
(I am struggling with creating a smaller database container for Gaea usage. There is a critical point.)

关键在官方把 mariadb 的 lib 全部清除,也是这个原因,我之前无法做出比官方容器更小的镜像
(Official MariaDB docker removes all files inside /var/lib/mysql. It was the main reason I had not made the image smaller than the Official before.)

大家会使用官方镜像去做为基底,所以多多少少,为了大家方便,官方镜像无法做到太小
(People use the official docker as a base image. It will avoid the official docker being too tiny to have trouble being the base image.)

我是觉得为了测试方便和效率,有必要把容器做到尽量小
(It is necessary to get a smaller image size to get more efficiency.)

圖片

@panhongrainbow
Copy link
Contributor Author

这个容器小很多,还要在改良,执行速度要加强
This container is smaller. However, I need to improve it.

圖片

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