Quantcast
Channel: MikroTik
Viewing all articles
Browse latest Browse all 19714

Containers • Self-hosted registry with basic http auth

$
0
0
Hello.

I see strange bug with http authentication in my docker registry ROS 7.17
i'm configure registry url, username, password and get 401 error.
Code:
/container configset ram-high=512.0MiB registry-url=http://10.10.10.4:5000/v2/ tmpdir=/usb1-part1/temp username=megauser111:dsadaskldaskdla
Code:
 2025-01-25 01:56:19 container,info,debug failed to parse www-auth 2025-01-25 01:56:19 container,info,debug was unable to import, container c0b5e568-81b3-471e-b5f6-8ec0450fe59f

Next i'm check get image from registry with disabled basic auth in registry side and all working, router pulled image.

Next step i'm run packet sniffer in server with registry and see router not send authentication data to my registry.
Code:
GET /v2/ HTTP/1.1Accept-Encoding: deflate, gzipHost: 10.10.10.4:5000User-Agent: MikroTik
I'm attach traffic dump.

Statistics: Posted by ks138 — Fri Jan 24, 2025 9:09 pm



Viewing all articles
Browse latest Browse all 19714

Trending Articles