Ai大模型相关案例,AI
Docker 1.9.0 RC4 发布,包含众多改进内容:
Runtime
- docker statsnow returns block IO metrics (#15005)
- docker statsnow details network stats per interface (#15786)
- Add ancestor=<image>filter todocker ps --filterflag to filter containers based on their ancestor images (#14570)
- Add label=<somelabel>filter todocker ps --filterto filter containers based on label (#16530)
- Add --kernel-memoryflag todocker run(#14006)
- Add --messageflag todocker importallowing to specify an optional message (#15711)
- Add --privilegedflag todocker exec(#14113)
- Add --stop-signalflag todocker runallowing to replace the container process stopping signal (#15307)
- Add a new unless-stoppedrestart policy (#15348)
- Inspecting an image now returns tags (#13185)
- Add container size information to docker inspect(#15796)
- Add RepoTagsandRepoDigestsfield to/images/{name:.*}/json(#17275)
- Remove the deprecated /container/psendpoint from the API (#15972)
- Send and document correct HTTP codes for /exec/<name>/start(#16250)
- Share shm and mqueue between containers sharing IPC namespace (#15862)
- Event stream now shows OOM status when --oom-kill-disableis set (#16235)
- Ensure special network files (/etc/hosts etc.) are read-only if bind-mounted with rooption (#14965)
- Improve rmiperformance (#16890)
- Do not update /etc/hosts for the default bridge network, except for links (#17325)
- Fix conflict with duplicate container names (#17389)
- Fix an issue with incorrect template execution in docker inspect(#17284)
- DEPRECATE -cshort flag variant for--cpu-sharesin docker run (#16271)
Client
- Allow docker importto import from local files (#11907)
Builder
- Add a STOPSIGNALDockerfile instruction allowing to set a different stop-signal for the container process (#15307)
- Add an ARGDockerfile instruction and a--build-argflag todocker buildthat allows to add build-time environment variables (#15182)
- Improve cache miss performance (#16890)
Storage
- devicemapper: Implement deferred deletion capability (#16381)
Networking
- docker networkexits experimental and is part of standard release (#16645)
- New network top-level concept, with associated subcommands and API (#16645)
- Support for multiple isolated/micro-segmented networks (#16645)
- Built-in multihost networking using VXLAN based overlay driver (#14071)
- Support for third-party network plugins (#13424)
- Ability to dynamically connect containers to multiple networks (#16645)
- Support for user-defined IP address management via pluggable IPAM drivers (#16910)
- Add daemon flags --cluster-storeand--cluster-advertisefor built-in nodes discovery (#16229)
- Add --cluster-store-optfor setting up TLS settings (#16644)
- Add --dns-optto the daemon (#16031)
- DEPRECATE following container NetworkSettingsfields in API v1.21:EndpointID,Gateway,GlobalIPv6Address,GlobalIPv6PrefixLen,IPAddress,IPPrefixLen,IPv6GatewayandMacAddress. Those are now specific to thebridgenetwork. UseNetworkSettings.Networksto inspect the networking settings of a container per network.
Volumes
- New top-level volumesubcommand and API (#14242)
- Move API volume driver settings to host-specific config (#15798)
- Print an error message if volume name is not unique (#16009)
- Ensure volumes created from Dockerfiles always use the local volume driver (#15507)
- DEPRECATE auto-creating missing host paths for bind mounts (#16349)
Logging
- Add awslogslogging driver for Amazon CloudWatch (#15495)
- Add generic taglog option to allow customizing container/image information passed to driver (e.g. show container names) (#15384)
- Implement the docker logsendpoint for the journald driver (#13707)
- DEPRECATE driver-specific log tags (e.g. syslog-tag, etc.) (#15384)
Distribution
- docker searchnow works with partial names (#16509)
- Push optimization: avoid buffering to file (#15493)
- The daemon will display progress for images that were already being pulled by another client (#15489)
- Only permissions required for the current action being performed are requested (#)
- Renaming trust keys (and respective environment variables) from offlinetorootandtaggingtorepository(#16894)
- DEPRECATE trust key environment variables DOCKER_CONTENT_TRUST_OFFLINE_PASSPHRASEandDOCKER_CONTENT_TRUST_TAGGING_PASSPHRASE(#16894)
Security
- Add SELinux profiles to the rpm package (#15832)
- Fix various issues with AppArmor profiles provided in the deb package (#14609)
- Add AppArmor policy that prevents writing to /proc (#15571)
下载地址:
Ubuntu/Debian: curl -sSL https://test.docker.com/ | sh
 Linux 64bit binary: https://test.docker.com/builds/Linux/x86_64/docker-1.9.0-rc4
 Darwin/OSX 64bit client binary: https://test.docker.com/builds/Darwin/x86_64/docker-1.9.0-rc4
 Darwin/OSX 32bit client binary: https://test.docker.com/builds/Darwin/i386/docker-1.9.0-rc4
 Linux 64bit tgz: https://test.docker.com/builds/Linux/x86_64/docker-1.9.0-rc4.tgz
 Windows 64bit client binary: https://test.docker.com/builds/Windows/x86_64/docker-1.9.0-rc4.exe
 Windows 32bit client binary: https://test.docker.com/builds/Windows/i386/docker-1.9.0-rc4.exe










