docker入门指南 - - 基本操作篇
Docker新手入门实战教程
Docker 教程
Docker入门学习笔记
Docker 资源汇总
一键创建docker 容器 指定ip,指定主机名,指定容器名称,指定镜像创建容器
开源 - 快速生成docker小鸡的方法(类似openvz)

Docker — 从入门到实践 && https://www.yuque.com/grasilife/docker

面板

https://download.docker.com/win/stable/Docker%20for%20Windows%20Installer.exe
https://download.docker.com/win/stable/Docker for Windows Installer.exe
https://download.docker.com/mac/stable/Docker.dmg
有docker面板推荐没

开发环境

https://github.com/yeszao/dnmp

https://github.com/LaraDock/laradock
https://github.com/RystLee/DevDock
https://segmentfault.com/a/1190000006802383
PHP 开发环境

请问如何卸载呢?

docker-compose down
docker ps -a
docker image ls -a
docker rm [container_id]
docker rmi [image_id]

chown -R 1000.1000 /data/webroot/m69w
find /data/webroot/m69w -type d -exec chmod 755 {} \;
find /data/webroot/m69w -type f -exec chmod 644 {} \;

docker ps -a

cp config.sample.inc.php config.inc.php
vim config.inc.php

docker exec -it bypanel-phpmyadmin-1 bash


docker cp bypanel-phpmyadmin-1:/var/www/html/config.inc.php /opt/bypanel/cfg/phpmyadmin/config.inc.php
https://blog.csdn.net/accress/article/details/17582923
docker cp bypanel-phpmyadmin-1:/var/www/html/libraries/config.default.php /opt/bypanel/cfg/phpmyadmin/config.default.php
docker cp /opt/bypanel/cfg/phpmyadmin/config.default.php bypanel-phpmyadmin-1:/var/www/html/libraries/config.default.php
docker cp /opt/bypanel/cfg/phpmyadmin/config.php bypanel-phpmyadmin-1:/var/www/html/libraries/config.php

docker cp bypanel-phpmyadmin-1:/var/www/html/import.php /opt/bypanel/cfg/phpmyadmin/import.php

docker cp /opt/bypanel/cfg/phpmyadmin/config.inc.php bypanel-phpmyadmin-1:/var/www/html/config.inc.php

unzip /opt/bypanel/cfg/phpmyadmin/xxx.zip /opt/bypanel/cfg/phpmyadmin/xxx.sql

docker cp /opt/bypanel/cfg/phpmyadmin/xxx.sql bypanel-phpmyadmin-1:/var/www/html/upload/




docker exec -i your_mysql_container_name mysql -u your_username --password=your_password your_database < path_to_your_database_dump.sql

docker exec -i  bypanel-mysql-1 mysql -u userName --password=password sqlName < /opt/bypanel/cfg/phpmyadmin/xxx.sql



mkdir upload
mkdir save

标签: docker, 容器

添加新评论