Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GNS3 VM based on Alpine Linux #160

Open
grossmj opened this issue Oct 18, 2021 · 4 comments
Open

GNS3 VM based on Alpine Linux #160

grossmj opened this issue Oct 18, 2021 · 4 comments

Comments

@grossmj
Copy link
Member

grossmj commented Oct 18, 2021

I am considering having the GNS3 VM based on Alpine Linux. Any comments?

@jnatschev
Copy link

no opinion one way or another. alpine will more than likely be much slimmer.

@grossmj
Copy link
Member Author

grossmj commented Nov 3, 2021

likely be much slimmer.

Yes that's one of the reason :)

@ghost
Copy link

ghost commented Dec 15, 2021

First of all I think, that a slimmer GNS3VM would be nice. During the v2.2 releases the GNS3VM has more than doubled its size, while there was no such increase during v2.0 and v2.1. I doubt, that the only reason is Ubuntu, there must be also some other reasons. As long as these reasons are unknown, I don't know if switching to Alpine will solve the base problem.

Size of the compressed image for VMware Workstation:

Version Size [MB] Comment
2.0.0 316
2.1.0 320
2.1.21 323
2.2.0 502
2.2.8 549
2.2.17 631
2.2.18 687 Switch to Focal
2.2.21 939
2.2.27 962
2.2.28 1180

Concerning Alpine I like to make the following comments:

  • Alpine supports the main repository of each release for 2 years, while the community repository is only supported until next stable release (6 months). As some packages like QEMU and Docker are in the community repository, a VM based on Alpine has to upgrade its base OS every 6 month.
  • Alpine uses very new software versions, that may have more bugs, than the older packages in Ubuntu.
  • Since Alpine v3.14 GNS3 is unmaintained, see https://git.alpinelinux.org/aports/commit/?id=b45777e14fcfefc047b4a46d2489fc575583fe68. So the GNS3 devs must be prepaired to solve some issues before GNS3 can be used in Alpine.
  • Alpine doesn't support the 32-bit glibc, needed for IOU.

@grossmj
Copy link
Member Author

grossmj commented Dec 16, 2021

First of all I think, that a slimmer GNS3VM would be nice. During the v2.2 releases the GNS3VM has more than doubled its size, while there was no such increase during v2.0 and v2.1.

Yes, it is annoying that the VM is getting bigger and bigger, that's why I am looking for an alternative. Right now we use the regular Ubuntu Focal LTS server version and then try to remove what's not needed https://github.com/GNS3/gns3-vm/blob/focal-stable/scripts/cleaner.sh however it looks like this strategy isn't as efficient as before...

To be honest, I am not sure switching to Alpine Linux is the solution. We would probably manage to bring down the size of the VM however this would create other problems in addition of the one you mentioned, like:

  • We will not be able to install dependencies like uBridge etc. from our PPA
  • Probably other issues with creating the VMs, we would have to update all the scripts including Packer json files.
  • As you pointed out Alpine doesn't support the 32-bit glibc, needed for IOU

What I have in mind now would be to use a Ubuntu cloud image from https://cloud-images.ubuntu.com/ possibly even the minimal version. I am waiting for the next LTS release do it.

@grossmj grossmj added this to the TBD milestone Jan 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants