以下命令:
docker exec [containerId] find /home -iname "*"
给了我:
/home
/home/seluser
/home/seluser/.bashrc
/home/seluser/.bash_logout
/home/seluser/.profile
/home/seluser/.local
/home/seluser/.local/share
/home/seluser/.local/share/applications
/home/seluser/.local/share/applications/mimeapps.list
/home/seluser/.sudo_as_admin_successful
有谁知道为什么没有列出/home/seluser/Downloads
文件夹?我几天前就能访问它了。
答案 0 :(得分:0)
这是我的错误。我忘了执行以下操作:
export DOCKER_HOST=docker