<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 src="file:///C:/Users/wzw/AppData/Local/Temp/enhtmlclip/Image(1).png" /><img alt="" src="https://simg.open-open.com/show/285e2be57d8d3e7430ec0f7cc3ea17fb.png" /></p> <p style="text-align: center;"><img alt="" src="https://simg.open-open.com/show/b4353f28e11b981e30ba14ec6613148d.png" /></p> <h2>更新日志</h2> <ul> <li>Disable container logging for build containers <a href="/misc/goto?guid=4959003597440356255">#29552</a></li> <li>Fix use of <code>**/</code> in <code>.dockerignore</code> <a href="/misc/goto?guid=4959003594314723312">#29043</a></li> <li>Sort <code>docker stack ls</code> by name <a href="/misc/goto?guid=4959003593089646298">#31085</a></li> <li>Flags for specifying bind mount consistency <a href="/misc/goto?guid=4959003593184382771">#31047</a></li> <li>Output of docker CLI --help is now wrapped to the terminal width <a href="/misc/goto?guid=4959004653299193071">#28751</a></li> <li>Suppress image digest in docker ps <a href="/misc/goto?guid=4959003593286877875">#30848</a></li> <li>Hide command options that are related to Windows <a href="/misc/goto?guid=4959003593385486189">#30788</a></li> <li>Fix <code>docker plugin install</code> prompt to accept "enter" for the "N" default <a href="/misc/goto?guid=4959003593489275066">#30769</a></li> <li>Add <code>truncate</code> function for Go templates <a href="/misc/goto?guid=4959003593578985505">#30484</a></li> <li>Support expanded syntax of ports in <code>stack deploy</code> <a href="/misc/goto?guid=4959003593683410478">#30476</a></li> <li>Support expanded syntax of mounts in <code>stack deploy</code> <a href="/misc/goto?guid=4959003593784961859">#30597</a> <a href="/misc/goto?guid=4959003593885757845">#31795</a></li> <li>Add <code>--add-host</code> for docker build <a href="/misc/goto?guid=4959003593984107772">#30383</a></li> <li>Add <code>.CreatedAt</code> placeholder for <code>docker network ls --format</code> <a href="/misc/goto?guid=4959003594084207277">#29900</a></li> <li>Update order of <code>--secret-rm</code> and <code>--secret-add</code> <a href="/misc/goto?guid=4959003594188881660">#29802</a></li> <li>Add <code>--filter enabled=true</code> for <code>docker plugin ls</code> <a href="/misc/goto?guid=4959003594446668365">#28627</a></li> <li>Add <code>--format</code> to <code>docker service ls</code> <a href="/misc/goto?guid=4959003594582735863">#28199</a></li> <li>Add <code>publish</code> and <code>expose</code> filter for <code>docker ps --filter</code> <a href="/misc/goto?guid=4959003594706988457">#27557</a></li> <li>Support multiple service IDs on <code>docker service ps</code> <a href="/misc/goto?guid=4959003594829236680">#25234</a></li> <li>Allow swarm join with <code>--availability=drain</code> <a href="/misc/goto?guid=4959003594954325804">#24993</a></li> <li>Docker inspect now shows "docker-default" when AppArmor is enabled and no other profile was defined <a href="/misc/goto?guid=4959004653855134469">#27083</a></li> <li>Implement optional ring buffer for container logs <a href="/misc/goto?guid=4959003597684465426">#28762</a></li> <li>Add <code>--log-opt awslogs-create-group=<true|false></code> for awslogs (CloudWatch) to support creation of log groups as needed <a href="/misc/goto?guid=4959004653980532180">#29504</a></li> <li>Fix segfault when using the gcplogs logging driver with a "static" binary <a href="/misc/goto?guid=4959004654079674820">#29478</a></li> <li>Check parameter <code>--ip</code>, <code>--ip6</code> and <code>--link-local-ip</code> in <code>docker network connect</code> <a href="/misc/goto?guid=4959003595204998466">#30807</a></li> <li>Added support for <code>dns-search</code> <a href="/misc/goto?guid=4959003595323113117">#30117</a></li> <li>Added --verbose option for docker network inspect to show task details from all swarm nodes <a href="/misc/goto?guid=4959003595430335725">#31710</a></li> <li>Clear stale datapath encryption states when joining the cluster <a href="/misc/goto?guid=4959003595550963177">docker/libnetwork#1354</a></li> <li>Ensure iptables initialization only happens once <a href="/misc/goto?guid=4959003595670989452">docker/libnetwork#1676</a></li> <li>Fix bad order of iptables filter rules <a href="/misc/goto?guid=4959003595794117951">docker/libnetwork#961</a></li> <li>Add anonymous container alias to service record on attachable network <a href="/misc/goto?guid=4959003595916725034">docker/libnetwork#1651</a></li> <li>Support for <code>com.docker.network.container_interface_prefix</code> driver label <a href="/misc/goto?guid=4959003596049022791">docker/libnetwork#1667</a></li> <li>Improve network list performance by omitting network details that are not used <a href="/misc/goto?guid=4959004654409177374">#30673</a></li> <li>Handle paused container when restoring without live-restore set <a href="/misc/goto?guid=4959003596174410791">#31704</a></li> <li>Do not allow sub second in healthcheck options in Dockerfile <a href="/misc/goto?guid=4959003596295249755">#31177</a></li> <li>Support name and id prefix in <code>secret update</code> <a href="/misc/goto?guid=4959003596428270770">#30856</a></li> <li>Use binary frame for websocket attach endpoint <a href="/misc/goto?guid=4959003596559700628">#30460</a></li> <li>Fix linux mount calls not applying propagation type changes <a href="/misc/goto?guid=4959003596684093577">#30416</a></li> <li>Fix ExecIds leak on failed <code>exec -i</code> <a href="/misc/goto?guid=4959003596802937888">#30340</a></li> <li>Prune named but untagged images if <code>danglingOnly=true</code> <a href="/misc/goto?guid=4959003596939814266">#30330</a></li> <li>Add daemon flag to set <code>no_new_priv</code> as default for unprivileged containers <a href="/misc/goto?guid=4959003597062289086">#29984</a></li> <li>Add daemon option <code>--default-shm-size</code> <a href="/misc/goto?guid=4959003597186344222">#29692</a></li> <li>Support registry mirror config reload <a href="/misc/goto?guid=4959003597311598121">#29650</a></li> <li>Ignore the daemon log config when building images <a href="/misc/goto?guid=4959003597440356255">#29552</a></li> <li>Move secret name or ID prefix resolving from client to daemon <a href="/misc/goto?guid=4959003597565564097">#29218</a></li> <li>Allow adding rules to <code>cgroup devices.allow</code> on container create/run <a href="/misc/goto?guid=4959003597801791664">#22563</a></li> <li>Fix <code>cpu.cfs_quota_us</code> being reset when running <code>systemd daemon-reload</code> <a href="/misc/goto?guid=4959004654909539472">#31736</a></li> <li>Topology-aware scheduling <a href="/misc/goto?guid=4959003597919117365">#30725</a></li> <li>Automatic service rollback on failure <a href="/misc/goto?guid=4959003598046020432">#31108</a></li> <li>Worker and manager on the same node are now connected through a UNIX socket<a href="/misc/goto?guid=4959003598172514719">docker/swarmkit#1828</a>, <a href="/misc/goto?guid=4959003598283838842">docker/swarmkit#1850</a>, <a href="/misc/goto?guid=4959003598400376710">docker/swarmkit#1851</a></li> <li>Improve raft transport package <a href="/misc/goto?guid=4959003598526978682">docker/swarmkit#1748</a></li> <li>No automatic manager shutdown on demotion/removal <a href="/misc/goto?guid=4959003598653979407">docker/swarmkit#1829</a></li> <li>Use TransferLeadership to make leader demotion safer <a href="/misc/goto?guid=4959003598783796600">docker/swarmkit#1939</a></li> <li>Decrease default monitoring period <a href="/misc/goto?guid=4959003598928636526">docker/swarmkit#1967</a></li> <li>Add Service logs formatting <a href="/misc/goto?guid=4959003599062331564">#31672</a></li> <li>Fix service logs API to be able to specify stream <a href="/misc/goto?guid=4959003599185499682">#31313</a></li> <li>Add <code>--stop-signal</code> for <code>service create</code> and <code>service update</code> <a href="/misc/goto?guid=4959003599321359966">#30754</a></li> <li>Add <code>--read-only</code> for <code>service create</code> and <code>service update</code> <a href="/misc/goto?guid=4959003599445038854">#30162</a></li> <li>Renew the context after communicating with the registry <a href="/misc/goto?guid=4959003599566927716">#31586</a></li> <li>(experimental) Add <code>--tail</code> and <code>--since</code> options to <code>docker service logs</code> <a href="/misc/goto?guid=4959004655438692484">#31500</a></li> <li>(experimental) Add <code>--no-task-ids</code> and <code>--no-trunc</code> options to <code>docker service logs</code> <a href="/misc/goto?guid=4959003599062331564">#31672</a></li> <li>Block pulling Windows images on non-Windows daemons <a href="/misc/goto?guid=4959003599818195479">#29001</a></li> </ul> <h2>下载</h2> <ul> <li><a href="/misc/goto?guid=4959005226055198873" rel="nofollow"><strong>Source code</strong> (zip)</a></li> <li><a href="/misc/goto?guid=4959005226156200285" 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/7db2c2fa">http://www.open-open.com/news/view/7db2c2fa</a></p>