Copy Agent Logs to the Host
Issue the host shell command below
docker run --user root --rm -ti -v agent-log:/tmp/agent-log -v $HOME/AgentLogs:/tmp/dest alpine /bin/sh -c "tar cvzf /tmp/dest/agent-logs.tar.gz /tmp/agent-log/*"
A folder named ‘AgentLogs’ appears under the user’s home directory. It contains a logs archive called ‘agent-logs.tar.gz’. An extraction tool such as 7zip (www.7-zip.org) can be used to extract the logs within.