srl-labs / containerlab

container-based networking labs
https://containerlab.dev
BSD 3-Clause "New" or "Revised" License
1.47k stars 249 forks source link

Support for new Cisco IOL images #2148

Closed fluzzi closed 1 month ago

fluzzi commented 1 month ago

The new Cisco IOL images that run directly on linux, supports 64 bits OS. I've created a Dockerfile and some scripts that make it work containerized and it works with containerlab.

this images are really great to run IOS as they don't consume as much resources and are not VMs.

https://github.com/fluzzi/iol_docker

while my workaround works, it's not ideal and has some flaws So I would like to request direct support for this.

thanks!

fluzzi commented 1 month ago

This is how i make it work on containerlab:

iol:
  kind: linux
  image: iol-container
  binds:
    - ./nvram:/opt/iol/nvram_00001
  mgmt-ipv4: 10.30.31.45
hellt commented 1 month ago

Is it possible to download IOL somewhere? If yes, we can document the whole process in the docs