Troubleshooting of docker errors: Difference between revisions
Jump to navigation
Jump to search
no edit summary
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
Troubleshooting of docker errors | Troubleshooting of docker errors | ||
== How to troubleshooting of docker errors == | |||
Enter the following command | |||
<pre> | |||
tail /home/dockerd.log | |||
</pre> | |||
Or the see the log of specific container ID | |||
<pre> | |||
docker logs <Container ID> | |||
# OR enter the following command which the log was updated automatically | |||
docker logs -f --details <Container ID> | |||
</pre> | |||
* [https://hadolint.github.io/hadolint/ Dockerfile Linter] | |||
== Error response from daemon: dial unix docker.raw.sock: connect: connection refused (on Mac) == | == Error response from daemon: dial unix docker.raw.sock: connect: connection refused (on Mac) == | ||