Acessing private repository - http/https

I know this question has been asked several times but I still do not get along. Can you help me? Thank you very much in advance!

  1. Docker registry service is accessible from Laptop with docker-desktop on Ubuntu.
    Nmap scan report for 192.168.100.193
    Host is up (0.00079s latency).
    Not shown: 997 closed ports
    PORT STATE SERVICE
    22/tcp open ssh
    5000/tcp open upnp
    9001/tcp open tor-orport

Nmap done: 1 IP address (1 host up) scanned in 0.54 seconds

  1. I tagged the image to push it up to the private registry.
    REPOSITORY TAG IMAGE ID CREATED SIZE
    192.168.100.193:5000/portainer-docker-extension 2.19.4 1a0fb356ea35 4 months ago 294MB
    portainer/portainer-docker-extension 2.19.4 1a0fb356ea35 4 months ago 294MB

  2. When pushing up to the registry this error message appears:
    Get “https://192.168.100.193:5000/v2/”: http: server gave HTTP response to HTTPS client

  3. I understand that by defining a proxy I can fix the problem. Is this correct? If yes what does the window have to look like?