# 初始化文件目录
mkdir.bat
# 导入镜像
save_img.bat
# 重构镜像
docker-compose up --build
# 启动
docker-compose up -d
# 关闭
docker-compose down
# 重启
docker-compose restart
docker exec -it fpm /bin/bash
docker cp fpm74:/usr/local/etc/php/php.ini-development D:\DockerEnv\php74-fpm\php.ini
docker cp fpm74:/usr/local/etc/php-fpm.conf D:\DockerEnv\php74-fpm\php-fpm.conf
docker cp fpm74:/usr/local/etc/php-fpm.d/www.conf D:\DockerEnv\php74-fpm\php-fpm.d\www.conf
docker cp fpm74:/etc/apt/sources.list D:\sources.list
# 源切换
docker cp fpm:/etc/apt/sources.list D:\DockerEnv\php74-fpm\sources.list
docker tag dockerenv_nginx:latest exewen/nginx:1.18.0
docker push exewen/nginx
docker tag dockerenv_php:latest exewen/php-fpm:7.0.13
docker push exewen/php-fpm
cat /etc/issue
cat /etc/apt/sources.list