mirror of
https://github.com/docker/cli.git
synced 2026-09-24 15:30:10 -05:00
4bd3e0fe3d59f8cc46c72724ec3a5219b41c5297
docker exec -u issue after docker daemon restart
This fix tries to address the issue raised in 29342 where `docker exec -u` after docker daemon restart returns an error: ``` unable to find user test: no matching entries in passwd file ``` The reason was that `container.BaseFS` is not present after restart. This fix adds the `daemon.Mount` during the restore to bring up the `container.BaseFS`. An integration test has been added to cover the changes. This fix fixes 29342. Signed-off-by: Yong Tang <yong.tang.github@outlook.com> Upstream-commit: 7feb2a17e4b9d1a5305a8a44004e916b79cbdd97 Component: engine
Languages
Go
92.3%
Shell
5.4%
Dockerfile
1.1%
Go-Checksums
0.7%
Makefile
0.3%
Other
0.2%