Portál AbcLinuxu, 20. listopadu 2025 17:04
lxc image list images:vrací se mi prázdná tabulka, vidím jen hlavičku. s AI jsme zkontrolovali vše od validní čas, po zkusit zabít proces dnsmasq (já ho nepoužívám, lxd si ho dělá), nastavit na interface dns.mode=none ale po restartu služby lxd si ta služba znovu dnsmasq nahodí. aktuální stav:
cat /etc/resolv.conf nameserver 10.10.10.10 # můj DNS server v síti
curl -I https://images.linuxcontainers.org/ HTTP/1.1 200 OK
dig @10.10.10.10 images.linuxcontainers.org +short 45.45.148.8
lxc remote remove images lxc remote add images images.linuxcontainers.org
Generating a client certificate. This may take a minute... Certificate fingerprint: 18b8f8f0968eaa640d721e00f9470b6472e0b92e6c023d973b615cb99b4be24f ok (y/n/[fingerprint])? y Error: Failed to fetch https://images.linuxcontainers.org:8443/1.0: 404 Not FoundAI říká:
Když zadáte lxc remote add images https://images.linuxcontainers.org LXD automaticky doplní *:8443 a pokusí se připojit na https://images.linuxcontainers.org:8443/1.0 Port 8443 je určen jen pro LXD‑API (privátní remoty). Public remote images používá Simplestreams a běží na standardním HTPS portu 443, takže LXD musí být instruováno, aby nepřidával :8443.ať dělám, co dělám, furt se mi tam cpe to :8443 nějaké rady? díky!
lxc remote add images https://images.linuxcontainers.org:443
lxc remote add images https://images.linuxcontainers.org:443 Certificate fingerprint: 18b8f8f0968eaa640d721e00f9470b6472e0b92e6c023d973b615cb99b4be24f ok (y/n/[fingerprint])? y Error: Failed to fetch https://images.linuxcontainers.org:443/1.0: 404 Not FoundMožná je problém v tom /1.0 v prohlížeči tam dostanu taky 404 not found Našel jsem diskuzi k tomu a pročítám to teď: https://discuss.linuxcontainers.org/t/unable-to-connect-to-images-linuxcontainers-org-443/20083/12
To disable IPv6 on a Debian system, you can add the following lines to the end of the file /etc/sysctl.conf: net.ipv6.conf.all.disable_ipv6 = 1 net.ipv6.conf.default.disable_ipv6 = 1 net.ipv6.conf.lo.disable_ipv6 = 1 After saving the file, run sudo sysctl -p to apply the changes.a stále se tam rve to /1.0
images.linuxcontainers.org má port 8443 otevřený. Kdosi ale piše že prý mu pomohlo přidat volbu --protocol=simplestreams. Můžeš zkusit.
Tiskni
Sdílej:
ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.