Troubleshooting of docker errors: Difference between revisions
Jump to navigation
Jump to search
(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]] | ||
Revision as of 21:51, 10 April 2021
Troubleshooting of docker errors
Error response from daemon: dial unix docker.raw.sock: connect: connection refused (on Mac)
Error condition: After I inputted the command docker ps, I met the error message as follows:
Error response from daemon: dial unix docker.raw.sock: connect: connection refused
Solution: Make sure the docker is running. After docker was lunched, the result of command docker ps should be:
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
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[1]
docker tag <IMAGE ID> <ACCOUNT NAME>/<NAME>:<TAG>
References
Troubleshooting of ...
- PHP, cUrl, Python, selenium, HTTP status code errors
- Database: SQL syntax debug, MySQL errors, MySQLTuner errors or PostgreSQL errors
- HTML/Javascript: Troubleshooting of javascript, XPath
- Software: Mediawiki, Docker, FTP problems, online conference software
- Test connectivity for the web service, Web Ping, Network problem, Web user behavior, Web scrape troubleshooting
Template