Technical work, should be praised and then see, form a habitCopy the code

Docker use tutorial related series of directories


Question:

The Error response from the daemon: Get http://192.168.88.131:9021/v1/users/: dial TCP 192.168.88.131:9021: connect: connection refusedCopy the code

The solution

1. Is the docker configuration file configured

If no, perform Step 2: Configure the warehouse

2. Have the ports of docker warehouse been mapped

Map port 9021

docker run -p 8081:8081 -p 9021:9021 --privileged=true --name nexus -v /usr/local/docker/nexus/nexus-data:/nexus-data 8716903d1912
Copy the code
Docker login -u Your Nexus account -p Your Nexus password 192.168.88.131:9021Copy the code