Comments (4)
文件编码不对吧
可以把run.sh重新下载一下
from my-blog.
@anddddddy 谢谢你!
但是在我执行sh -x run.sh之后,再执行docker-compose restart,出现了ERROR: No containers to restart。这是怎么回事哇?具体如下:
.........
........
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 12.135 s
[INFO] Finished at: 2018-05-20T12:28:33+08:00
[INFO] Final Memory: 32M/76M
[INFO] ------------------------------------------------------------------------
+ cd docker-extension
+ docker-compose stop
+ docker-compose rm -f
No stopped containers
+ grep none
+ awk '{print $3 }'
+ xargs docker rmi
+ docker images
"docker rmi" requires at least 1 argument.
See 'docker rmi --help'.
Usage: docker rmi [OPTIONS] IMAGE [IMAGE...] [flags]
Remove one or more images
[root@iZuf60o71ndcv5bgniyu4mZ docker-extension]#docker-compose restart
ERROR: No containers to restart
[root@iZuf60o71ndcv5bgniyu4mZ docker-extension]# wget http://localhost:28080
--2018-05-20 12:33:07-- http://localhost:28080/
Resolving localhost (localhost)... 127.0.0.1, ::1
Connecting to localhost (localhost)|127.0.0.1|:28080... failed: Connection refused.
Connecting to localhost (localhost)|::1|:28080... failed: No route to host.
from my-blog.
你根本没有执行docker-compose up
命令吧,所以也没有生成containers,没有containers肯定就不能执行restart操作啊
from my-blog.
解决了吗?楼主
from my-blog.
Related Issues (20)
- 一个类文件问题 HOT 2
- 博客发布 HOT 1
- Webservice currently unavailable Error 500 HOT 1
- 登录时数据库链接失败
- .。。
- 友情链接update后再save,save会变成update HOT 2
- 你的个人博客不安全 HOT 2
- 二次开发请教
- 使用较高版本的SpringBoot会出现报错:boolean无法转换为org.springframework.boot.web.error.ErrorAttributeOptions HOT 2
- 有一个bug,展示端中根据Tag标签分类博客,点击后会显示所有文章,而不是该标签对应的博客列表,要改一下sql查询方法
- 添加博客 内容框 無法添加圖片
- 500报错
- 谢谢大佬的项目代码 HOT 1
- 服务器访问出问题
- There are multiple stored XSS on the My-Blog page. HOT 1
- 新增博客,无法上传博客封面,建议直接使用图床的模式 HOT 1
- idea运行成功
- There is an xss vulnerability in src/main/java/com/site/blog/my/core/controller/admin/BlogController.java
- There are arbitrary file upload vulnerabilities in src/main/java/com/site/blog/my/core/controller/admin/UploadController.java and src/main/java/com/site/blog/my/core/controller/admin/BlogController.java
- Tony带水的blog
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from my-blog.