我刚刚更新了我的docker版本并找到了该命令
aws ecr get-login
Run Code Online (Sandbox Code Playgroud)
不再工作了.得到错误:
未知的速记标志:'e'在-e`中.似乎docker不再支持-e标志了.
有没有办法来解决这个问题?
已安装的版本:
aws-cli/1.11.111 Python/2.7.10 Darwin/16.6.0 botocore/1.5.74
Docker version 17.06.0-ce-rc5, build b7e4173
Run Code Online (Sandbox Code Playgroud) 我在我的项目中使用overcommit gem(https://github.com/brigade/overcommit),当我使用Github Desktop for osx时,我收到以下错误:
此存储库包含由Overcommit安装的挂钩,但未
overcommit安装gem.安装它gem install overcommit.(1)
宝石已安装,它在终端工作.我想这是因为我使用rvm并且Github Desktop不知道rvm.有谁知道如何解决这个问题?
所以我在nginx(nginx/1.10.1)上使用以下配置启用了http2
server {
listen 443 ssl http2;
....
}
Run Code Online (Sandbox Code Playgroud)
当我用curl预先形成请求时,curl -I https://example.com我得到了回复:
HTTP/2.0 200
date:Tue, 13 Sep 2016 09:41:11 GMT
content-type:text/html
....
Run Code Online (Sandbox Code Playgroud)
当我在chrome响应中执行相同的请求时:
HTTP/1.1 200 OK
Date: Tue, 13 Sep 2016 09:43:43 GMT
Content-Type: text/html
Run Code Online (Sandbox Code Playgroud)
为什么chrome没有切换到http2?我在这里遗失了什么?