摘要: 1、启动容器: [root@localhost ~]# docker run -d -e MYSQL_ROOT_PASSWORD=123456 -p 3306:3306 mysql2、进入容器: [root@localhost ~]# docker exec -it 容器id bash3、进入mys 阅读全文
posted @ 2019-12-16 12:27 weizhxa 阅读(837) 评论(0) 推荐(1) 编辑
摘要: ubuntu16.04下docker安装和简单使用 转自:https://www.cnblogs.com/hupeng1234/p/9773770.html 前提条件 操作系统 docker-ce支持的ubuntu版本: Bionic 18.04 (LTS) Xenial 16.04 (LTS) T 阅读全文
posted @ 2019-12-16 12:02 weizhxa 阅读(842) 评论(0) 推荐(0) 编辑