Add more details to error message when busybox is not installed. Fixes https://github.com/GNS3/gns3-gui/issues/3569

This commit is contained in:
grossmj 2024-04-23 17:54:06 +07:00
parent 18002a7580
commit 448b94f701
No known key found for this signature in database
GPG Key ID: 0A2D76AC45EA25CD

View File

@ -88,7 +88,7 @@ class Docker(BaseManager):
f"{stdout.decode('utf-8', errors='ignore').strip()}")
except OSError as e:
raise DockerError(f"Could not install busybox: {e}")
raise DockerError("No busybox executable could be found")
raise DockerError("No busybox executable could be found, please install busybox (apt install busybox-static on Debian/Ubuntu) and make sure it is in your PATH")
@staticmethod
def resources_path():