nestybox / sysbox

An open-source, next-generation "runc" that empowers rootless containers to run workloads such as Systemd, Docker, Kubernetes, just like VMs.
Apache License 2.0
2.78k stars 152 forks source link

Minor bug in the `docker-cfg` script #214

Closed ctalledo closed 2 years ago

ctalledo commented 3 years ago

The convenience script docker-cfg sometimes fails to configure the Docker default runtime correctly:

cesar@focal:~/nestybox/sysbox-upstream$ sudo ./scr/docker-cfg --default-runtime=sysbox-runc
[sudo] password for cesar: 
Error: any valid prefix is expected rather than "null".
Error: any valid prefix is expected rather than "null".
WARN: Docker default-address-pool to configure (null) overlaps with existing system subnet. Try another IP range to avoid connectivity issues.
INFO: Refusing to configure Docker networking due to IP address overlap with existing system subnet(s).

Need to investigate and fix it.

ctalledo commented 2 years ago

No longer seeing this issue in the docker-cfg script (it underwent several changes). Closing.