mirror of
https://github.com/docker/cli.git
synced 2026-09-25 17:02:07 -04:00
955f123fe81f18a27d086ac1338a50fb046487eb
docker inspect when daemon default exists
This fix tries to fix 26326 where `docker inspect` will not show ulimit even when daemon default ulimit has been set. This fix merge the HostConfig's ulimit with daemon default in `docker inspect`, so that when daemon is started with `default-ulimit` and HostConfig's ulimit is not set, `docker inspect` will output the daemon default. An integration test has been added to cover the changes. This fix fixes 26326. Signed-off-by: Yong Tang <yong.tang.github@outlook.com> Upstream-commit: 7d705a7355d650feffc966e08efc0f92297145a8 Component: engine
Languages
Go
92.3%
Shell
5.4%
Dockerfile
1.1%
Go-Checksums
0.7%
Makefile
0.3%
Other
0.2%