Unable to push images to docker repository.
when I tried to do so, this is what we received.
Sorry, something went wrong:
Traceback (most recent call last):
File "class/flask_sockets.py", line 30, in __call__
handler, values = adapter.match()
File "/www/server/panel/pyenv/lib/python3.7/site-packages/werkzeug/routing.py", line 1945, in match
raise NotFound()
werkzeug.exceptions.NotFound: 404 Not Found: The requested URL was not found on the server. If you entered the URL manually please check your spelling and try again.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/www/server/panel/pyenv/lib/python3.7/site-packages/docker/api/client.py", line 261, in _raise_for_status
response.raise_for_status()
File "/www/server/panel/pyenv/lib/python3.7/site-packages/requests/models.py", line 941, in raise_for_status
raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 400 Client Error: Bad Request for url: http+docker://localhost/v1.35/images/docker.io/False/False:latest?force=False&noprune=False
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "class/panelPlugin.py", line 1957, in a
return eval(execStr)
File "", line 1, in
File "plugin/docker/docker_main.py", line 491, in push
self.__docker.images.remove(local_image)
File "/www/server/panel/pyenv/lib/python3.7/site-packages/docker/models/images.py", line 463, in remove
self.client.api.remove_image(*args, **kwargs)
File "/www/server/panel/pyenv/lib/python3.7/site-packages/docker/utils/decorators.py", line 19, in wrapped
return f(self, resource_id, *args, **kwargs)
File "/www/server/panel/pyenv/lib/python3.7/site-packages/docker/api/image.py", line 495, in remove_image
return self._result(res, True)
File "/www/server/panel/pyenv/lib/python3.7/site-packages/docker/api/client.py", line 267, in _result
self._raise_for_status(response)
File "/www/server/panel/pyenv/lib/python3.7/site-packages/docker/api/client.py", line 263, in _raise_for_status
raise create_api_error_from_http_exception(e)
File "/www/server/panel/pyenv/lib/python3.7/site-packages/docker/errors.py", line 31, in create_api_error_from_http_exception
raise cls(e, response=response, explanation=explanation)
docker.errors.APIError: 400 Client Error: Bad Request ("invalid reference format: repository name must be lowercase")