高级容器引擎 Docker v17.05.0-ce-rc1发布
jopen 7年前
<p style="text-align: center;"><img alt="" src="https://simg.open-open.com/show/d2f43c169b53d4d2dcd40dd8a8099b7c.png" /></p> <p> </p> <p> Docker 是 PaaS 提供商 dotCloud 开源的一个基于 LXC 的高级容器引擎,源代码托管在 Github 上, 基于go语言并遵从Apache2.0协议开源。Docker的思想来自于集装箱,在一艘大船上,可以把货物规整的摆放起来。并且各种各样的货物被集装箱标准化了,集装箱和集装箱之间不会互相影响。那么我就不需要专门运送水果的船和专门运送化学品的船了。只要这些货物在集装箱里封装的好好的,那我就可以用一艘大船把他们都运走。docker就是类似的理念。现在都流行云计算了,云计算就好比大货轮。docker就是集装箱。</p> <p style="text-align: center;"><img alt="" src="https://simg.open-open.com/show/285e2be57d8d3e7430ec0f7cc3ea17fb.png" /></p> <p style="text-align: center;"><a href="https://simg.open-open.com/show/b4353f28e11b981e30ba14ec6613148d.png"><img alt="" src="https://simg.open-open.com/show/b4353f28e11b981e30ba14ec6613148d.png" /></a></p> <h2>更新日志</h2> <ul> <li>Add multi-stage build support <a href="/misc/goto?guid=4959005790771108902">#31257</a> <a href="/misc/goto?guid=4959005790873169662">#32063</a></li> <li>Allow using build-time args (<code>ARG</code>) in <code>FROM</code> <a href="/misc/goto?guid=4959005790970159818">#31352</a></li> <li>Add an option for specifying build target <a href="/misc/goto?guid=4959005791072588418">#32496</a></li> <li>Accept <code>-f -</code> to read Dockerfile from <code>stdin</code>, but use local context for building <a href="/misc/goto?guid=4959005791182977478">#31236</a></li> <li>The values of default build time arguments (e.g <code>HTTP_PROXY</code>) are no longer displayed in docker image history unless a corresponding <code>ARG</code> instruction is written in the Dockerfile. <a href="/misc/goto?guid=4959005791310642847">#31584</a></li> <li>Fix setting command if a custom shell is used in a parent image <a href="/misc/goto?guid=4959005791437278691">#32236</a></li> <li>Fix <code>docker build --label</code> when the label includes single quotes and a space <a href="/misc/goto?guid=4959005791561409198">#31750</a></li> <li>Add <code>--mount</code> flag to <code>docker run</code> and <code>docker create</code> <a href="/misc/goto?guid=4959005791688500517">#32251</a></li> <li>Add <code>--type=secret</code> to <code>docker inspect</code> <a href="/misc/goto?guid=4959005791813968132">#32124</a></li> <li>Add <code>--format</code> option to <code>docker secret ls</code> <a href="/misc/goto?guid=4959005791950461525">#31552</a></li> <li>Add <code>--filter</code> option to <code>docker secret ls</code> <a href="/misc/goto?guid=4959005792079039534">#30810</a></li> <li>Add <code>--filter scope=<swarm|local></code> to <code>docker network ls</code> <a href="/misc/goto?guid=4959005792205386729">#31529</a></li> <li>Add <code>--cpus</code> support to <code>docker update</code> <a href="/misc/goto?guid=4959005792339444375">#31148</a></li> <li>Add label filter to <code>docker system prune</code> and other <code>prune</code> commands <a href="/misc/goto?guid=4959005792466396323">#30740</a></li> <li><code>docker stack rm</code> now accepts multiple stacks as input <a href="/misc/goto?guid=4959005792599137056">#32110</a></li> <li>Improve <code>docker version --format</code> option when the client has downgraded the API version <a href="/misc/goto?guid=4959005792728680537">#31022</a></li> <li>Prompt when using an encrypted client certificate to connect to a docker daemon <a href="/misc/goto?guid=4959005792857911633">#31364</a></li> <li>Display created tags on successful <code>docker build</code> <a href="/misc/goto?guid=4959005792977223842">#32077</a></li> <li>Add support for building docker debs for Ubuntu 17.04 Zesty on amd64 <a href="/misc/goto?guid=4959005793112795030">#32435</a></li> <li>Fix <code>--api-cors-header</code> being ignored if <code>--api-enable-cors</code> is not set <a href="/misc/goto?guid=4959005793242441633">#32174</a></li> <li>Cleanup docker tmp dir on start <a href="/misc/goto?guid=4959005793369877169">#31741</a></li> <li>Deprecate <code>--graph</code> flag in favor or <code>--data-root</code> <a href="/misc/goto?guid=4959005793492094901">#28696</a></li> <li>Add support for logging driver plugins <a href="/misc/goto?guid=4959005793644932674">#28403</a></li> <li>Add support for showing logs of individual tasks to <code>docker service logs</code>, and add <code>/task/{id}/logs</code>REST endpoint <a href="/misc/goto?guid=4959005793769097538">#32015</a></li> <li>Add <code>--log-opt env-regex</code> option to match environment variables using a regular expression <a href="/misc/goto?guid=4959005793892213166">#27565</a></li> <li>Allow user to replace, and customize the ingress network <a href="/misc/goto?guid=4959005794017288807">#31714</a></li> <li>Fix UDP traffic in containers not working after the container is restarted <a href="/misc/goto?guid=4959005794151502730">#32505</a></li> <li>Fix files being written to <code>/var/lib/docker</code> if a different data-root is set <a href="/misc/goto?guid=4959005794151502730">#32505</a></li> <li>Ensure health probe is stopped when a container exits <a href="/misc/goto?guid=4959005794297409328">#32274</a></li> <li>Add update/rollback order for services (<code>--update-order</code> / <code>--rollback-order</code>) <a href="/misc/goto?guid=4959005794433001774">#30261</a></li> <li>Add support for synchronous <code>service create</code> and <code>service update</code> <a href="/misc/goto?guid=4959005794560141838">#31144</a></li> <li>Add support for "grace periods" on healthchecks through the <code>HEALTHCHECK --start-period</code> and <code>--health-start-period</code> flag to</li> <li><code>docker service create</code>, <code>docker service update</code>, <code>docker create</code>, and <code>docker run</code> to support containers with an initial startup</li> <li>time <a href="/misc/goto?guid=4959005794682049409">#28938</a></li> <li><code>docker service create</code> now omits fields that are not specified by the user, when possible. This will allow defaults to be applied inside the manager <a href="/misc/goto?guid=4959005794808739480">#32284</a></li> <li><code>docker service inspect</code> now shows default values for fields that are not specified by the user <a href="/misc/goto?guid=4959005794808739480">#32284</a></li> <li>Move <code>docker service logs</code> out of experimental <a href="/misc/goto?guid=4959005794951667050">#32462</a></li> <li>Add support for Credential Spec and SELinux to services to the API <a href="/misc/goto?guid=4959005795079997334">#32339</a></li> <li>Add <code>--entrypoint</code> flag to <code>docker service create</code> and <code>docker service update</code> <a href="/misc/goto?guid=4959005795213001561">#29228</a></li> <li>Add <code>--network-add</code> and <code>--network-rm</code> to <code>docker service update</code> <a href="/misc/goto?guid=4959005795337857093">#32062</a></li> <li>Add <code>--credential-spec</code> flag to <code>docker service create</code> and <code>docker service update</code> <a href="/misc/goto?guid=4959005795079997334">#32339</a></li> <li>Add <code>--filter mode=<global|replicated></code> to <code>docker service ls</code> <a href="/misc/goto?guid=4959005795480858520">#31538</a></li> <li>Resolve network IDs on the client side, instead of in the daemon when creating services <a href="/misc/goto?guid=4959005795337857093">#32062</a></li> <li>Add <code>--format</code> option to <code>docker node ls</code> <a href="/misc/goto?guid=4959005795623273861">#30424</a></li> <li>Add <code>--prune</code> option to <code>docker stack deploy</code> to remove services that are no longer defined in the docker-compose file <a href="/misc/goto?guid=4959005795748132242">#31302</a></li> <li>Add <code>PORTS</code> column for <code>docker service ls</code> when using <code>ingress</code> mode <a href="/misc/goto?guid=4959005795883713567">#30813</a></li> <li>Fix unnescessary re-deploying of tasks when environment-variables are used <a href="/misc/goto?guid=4959005796005763229">#32364</a></li> <li>Fix <code>docker stack deploy</code> not supporting <code>endpoint_mode</code> when deploying from a docker compose file<a href="/misc/goto?guid=4959005796140970608">#32333</a></li> <li>Proceed with startup if cluster component cannot be created to allow recovering from a broken swarm setup <a href="/misc/goto?guid=4959005796270594131">#31631</a></li> </ul> <h2>下载</h2> <ul> <li><a href="/misc/goto?guid=4959005796397700713" rel="nofollow"><strong>Source code</strong> (zip)</a></li> <li><a href="/misc/goto?guid=4959005796532862772" rel="nofollow"><strong>Source code</strong> (tar.gz)</a></li> </ul> <p>本站原创,转载时保留以下信息:<br /> 本文转自:深度开源(open-open.com)<br /> 原文地址:<a href="http://www.open-open.com/news/view/6e709b31">http://www.open-open.com/news/view/6e709b31</a></p> <h3> </h3>