-
Notifications
You must be signed in to change notification settings - Fork 403
08 Docker 部署简洁说明
liuweijw edited this page Mar 28, 2018
·
1 revision
1、docker 安装学习
2、若采用docker-compose编排方式,需要安装docker-compose,项目compose文件guide
- 编译:docker-compose build
- 启动:docker-compose up -d
- 资源回收: docker-compose down
3、遇到config-server找不到eureka server 建议处理
查看/etc/hosts文件中是否有127.0.0.1对应主机名,如果没有则添加
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4 izwzxxxxxxxxdeeeyz(主机名)
::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
查看主机名:hostname 命令