Problems with docker: docker reports an error solution when accessing private servers

Docker use tutorial related series catalog


problem:

Error response from daemon: Get http://192.168.88.131:9021/v1/users/: dial tcp 192.168.88.131:9021: connect: connection refused

solution

1. Is there any configuration in the docker configuration file?

      If not configured, follow the steps Two: Configure warehouse

2. Is the port of the docker warehouse mapped?

      Map out port 9021

docker run -p 8081:8081 -p 9021:9021 --privileged=true --name nexus -v /usr/local/docker/nexus/nexus-data:/nexus-data 8716903d1912
docker login -u 你的nexus账号 -p 你的nexus密码 192.168.88.131:9021

Guess you like

Origin blog.csdn.net/shi_hong_fei_hei/article/details/115051127