Troubleshooting of docker errors: Difference between revisions
Jump to navigation
Jump to search
no edit summary
(Created page with "Troubleshooting of docker errors == Error response from daemon: dial unix docker.raw.sock: connect: connection refused (on Mac) == Error condition: After I inputed the comman...") |
No edit summary |
||
| Line 2: | Line 2: | ||
== 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) == | ||
Error condition: After I | Error condition: After I inputted the command {{kbd | key = docker ps}}, I met the error message as follows: | ||
<pre> | <pre> | ||
| Line 13: | Line 13: | ||
</pre> | </pre> | ||
== Error response from docker desktop: credential when tried to docker push == | |||
Solution: Login the account of docker hub | |||
== Error response from docker desktop: denied: requested access to the resource is denied when tried to docker push == | |||
Solution: Add tag to the docker image you want to publish<ref>[https://stackoverflow.com/questions/43858398/docker-push-error-denied-requested-access-to-the-resource-is-denied docker push error "denied: requested access to the resource is denied" - Stack Overflow]</ref> | |||
<pre> | |||
docker tag <IMAGE ID> <ACCOUNT NAME>/<NAME>:<TAG> | |||
</pre> | |||
== References == | |||
<references /> | |||
{{Template:Troubleshooting}} | {{Template:Troubleshooting}} | ||
[[Category:Programming]] | [[Category:Programming]] | ||