1. XenForo 1.5.14 中文版——支持中文搜索!现已发布!查看详情
  2. Xenforo 爱好者讨论群:215909318 XenForo专区

新闻 Docker 1.8.0 RC1 发布,更丰富的 Dockerfile 语法 下载

本帖由 漂亮的石头2015-07-28 发布。版面名称:软件资讯

  1. 漂亮的石头

    漂亮的石头 版主 管理成员

    注册:
    2012-02-10
    帖子:
    487,345
    赞:
    47
    Docker 1.8.0 RC1 发布,正式版计划在 8 月 4 日(周二)发布。此版本引入了一些非常棒的 apt & yum repos

    Docker 1.8.0 将会引入一个新的 API 来复制文件和目录到一个容器中,每个人都可以使用 Docker Remote API 实现他们的构建系统。Dockramp 是 `docker build` 另一个选择的第一个概念验证。

    Dockramp 主要特性:


    • 没有上下文上传


    • 高效分层和缓存


    • 更丰富和扩展性更强的 Dockerfile 语法

    下载:


    更新内容:

    ## 1.8.0

    ### Distribution

    + Trusted pull, push and build (disabled by default)
    * Make tar layers deterministic between registries
    * Don't allow deleting the image of running containers
    * Check if a tag name to load is a valid digest
    * Allow one character repository names
    * Add a more accurate error description for invalid tag name
    * Make build cache ignore mtime

    ### Cli

    + Add support for DOCKER_CONFIG/--config to specify config file dir
    + Add --type flag for docker inspect command
    + Add formatting options to `docker ps` with `--format`
    + Replace `docker -d` with new subcommand `docker daemon`
    * Zsh completion updates and improvements
    * Add some missing events to bash completion
    * Support daemon urls with base paths in `docker -H`
    * Validate status= filter to docker ps
    * Display when a container is in --net=host in docker ps
    * Extend docker inspect to export image metadata related to graph driver
    * Restore --default-gateway{,-v6} daemon options
    * Add missing unpublished ports in docker ps
    * Allow duration strings in `docker events` as --since/--until
    * Expose more mounts information in `docker inspect`

    ### Runtime

    + Add new Fluentd logging driver
    + Allow `docker import` to load from local files
    + Add logging driver for GELF via UDP
    + Allow to copy files from host to containers with `docker cp`
    + Promote volume drivers from experimental to master
    + Add rollover log driver, and --log-driver-opts flag
    + Add memory swappiness tuning options
    * Remove cgroup read-only flag when privileged
    * Make /proc, /sys, & /dev readonly for readonly containers
    * Add cgroup bind mount by default
    * Overlay: Export metadata for container and image in `docker inspect`
    * Devicemapper: external device activation
    * Devicemapper: Compare uuid of base device on startup
    * Remove RC4 from the list of registry cipher suites
    * Add syslog-facility option
    * LXC execdriver compatibility with recent LXC versions

    ### Plugins

    * Separate plugin sockets and specs locations
    * Allow TLS connections to plugins

    ### Bug fixes

    - Add missing 'Names' field to /containers/json API output
    - Make `docker rmi --dangling` safe when pulling
    - Devicemapper: Change default basesize to 100G
    - Go Scheduler issue with sync.Mutex and gcc
    - Fix issue where Search API endpoint would panic due to empty AuthConfig
    - Set image canonical names correctly
    - Check dockerinit only if lxc driver is used
    - Fix ulimit usage of nproc
    - Always attach STDIN if -i,--interactive is specified
    - Show error messages when saving container state fails
    - Fixed incorrect assumption on --bridge=none treated as disable network
    - Check for invalid port specifications in host configuration
    - Fix endpoint leave failure for --net=host mode
    - Fix goroutine leak in the stats API if the container is not running
    - Check for apparmor file before reading it
    - Fix DOCKER_TLS_VERIFY being ignored
    - Set umask to the default on startup
    - Correct the message of pause and unpause a non-running container
    - Adjust disallowed CpuShares in container creation
    - ZFS: correctly apply selinux context
    - Display empty string instead of <nil> when IP opt is nil
    - `docker kill` returns error when container is not running
    - Fix COPY/ADD quoted/json form
    - Fix goroutine leak on logs -f with no output
    - Remove panic in nat package on invalid hostport
    - Fix container linking in Fedora 22
    - Fix error caused using default gateways outside of the allocated range


    更多改进内容请看发行说明

    OSC 的 Docker 普及活动 —— Dockerfile 征集活动正在火热进行中哦,各种精美礼品等你拿~

    Docker 逗你玩儿http://www.oschina.net/news/64013/git-osc-docker-image-maker
    Docker 1.8.0 RC1 发布,更丰富的 Dockerfile 语法下载地址
     
正在加载...