Docker private registry certificate problem, dockerregistry
In the private registry recently set up in the previous article, the reference article pointed out that problems may occur during push:
The image cannot be pushed to the private repository. This is because the registry service we launched is not secure and reliable. Here we need to modify the docker configuration file/etc/default/docker and add the following content,
DOCKER_OPTS = "-- insecure-registry xxx. xxx: 5000"
Then restart the docker background process,
$ Sudo service docker restart
This is to push again.
There is no problem in handling non-Windows clients, but what should I do in Windows clients?
Docker for windows (windows 10)
- The application can be pushed after the Docker service is restarted.
Windows Server 2016
In win2016, because there is no tray tool, you can only set it manually:
- Restart a computer or virtual machine