docker deploy change

This commit is contained in:
zhh
2019-01-03 13:39:42 +08:00
parent be1ae5d3a7
commit 1a236d8ed9
3 changed files with 16 additions and 11 deletions

View File

@@ -30,6 +30,8 @@ docker start $ContainerId
### 删除容器
- docker rm $ContainerId
- docker rm -f $(docker ps -a -q)
### 查看启动错误日志
docker logs $ContainerIdName(或者$ContainerId)
## Docker Registry
### Docker Registry 2.0搭建

View File

@@ -60,7 +60,7 @@ delete from emp where ename='zhangsan'
### 字符集相关
- 查看字符集show variables like 'character%'
- 创建数据库时指定字符集create database test1 character set utf8
- 创建数据库时指定字符集create database mall character set utf8
### 权限相关
- 授予所有数据库的所有权限grant all privileges on *.* to z1@localhost identified by '123'