Docker打包镜像添加php扩展 #2
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
选择一个空目录创建Dockerfile文件
然后在该目录下执行
docker build -t php-with-mysql:7.3-apache .查看docker空间占用
清理磁盘,删除关闭的容器、无用的数据卷和网络
清除无用的数据卷
批量删除所有容器