docker-compose.yml中定义了一系列服务.这些服务已经开始.我只需要重建其中一个并在没有其他服务的情况下启动它.我运行以下命令:
docker-compose up -d # run all services
docker-compose stop nginx # stop only one. but it still running !!!
docker-compose build --no-cache nginx
docker-compose up -d --no-deps # link nginx to other services
Run Code Online (Sandbox Code Playgroud)
最后我得到了旧的nginx容器.顺便说一句,docker-compose不会杀死所有正在运行的容器!
在执行composer install/update时,我从openssl得到以下错误:
无法下载" https://packagist.org/packages.json "文件:SSL操作失败,代码为1. OpenSSL错误消息:错误:14090086:SSL例程:SSL3_GET_SERVER_CERTIFICATE:证书验证失败无法启用加密失败打开stream:操作失败 https://packagist.org无法完全加载,包信息是从本地缓存加载的,可能已过期
我在用:
作曲家诊断显示:
Checking composer.json: OK
Checking platform settings: OK
Checking git settings: OK
Checking http connectivity: FAIL
[Composer\Downloader\TransportException] The "https://packagist.org/packages.json" file could not be downloaded: SSL operation failed with code 1. OpenSSL Error messages:
error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed
Failed to enable crypto
failed to open stream: operation failed
Checking disk free space: OK
Checking composer version:
Run Code Online (Sandbox Code Playgroud)
[Composer\Downloader\TransportException] 无法下载
" https://getcomposer.org/version "文件:SSL操作失败,代码为1. OpenSSL错误消息:
错误:14090086:SSL例程:SSL3_GET_SERVER_CERTIFICATE:证书验证失败
失败enable crypto
无法打开流:操作失败
php …
我不能再在版本3中使用getMainContext()和getSubcontext($ alias)了.在版本3中上下文之间进行通信的方式是什么.上下文特征是唯一的方法吗?
# behat.yml
default:
suites:
guest_features:
paths: [ %paths.base%/features/web ]
filters: { role: guest }
contexts: [ GuestContext ]
user_features:
paths: [ %paths.base%/features/web ]
filters: { role: member }
contexts: [ MemberContext ]
groupled_features:
paths: [ %paths.base%/features/web ]
filters: { role: grouplead}
contexts: [ GroupleadContext ]
admin_features:
paths: [ %paths.base%/features/web ]
filters: { role: admin }
contexts: [ AdminContext ]
extensions:
Behat\MinkExtension:
base_url: http://ollo.com
browser_name: firefox
selenium2:
capabilities: { "browser": "firefox", "version": "24"}
goutte: ~
Run Code Online (Sandbox Code Playgroud) 当我尝试使用AVR studio 4调试一小段代码时出现此错误:
Build failed... No build tools defined.
Run Code Online (Sandbox Code Playgroud)
有人可以给我一些建议吗?
如何在div中居中对象内容?
.parent{
background-color:yellow;
}
.ob{
margin: 0 auto;
}
</style>
<div class="parent">
<object width="400" height="400" class="ob" data="helloworld.swf">
</object>
</div>
Run Code Online (Sandbox Code Playgroud)
提前致谢!