How to install containerlab from scratch using Ubuntu 20.04? #406
-
Hi, I am trying to run containerlab in a brand new Ubuntu 20.0.4 install but my problem is that while the srlinux NE instance starts up, it seems to fail shortly afterwards, I'm guessing maybe its something I'm doing wrong (perhaps related to permissions or a missing module?) The only package option I selected was OpenSSH server
From then on, I started to use the guidance from https://containerlab.srlinux.dev/install/ which mentions installing docker, and linking to the docker site, so used the instructions on https://docs.docker.com/engine/install/ubuntu/ and it seemed to be fine
After checking the "sudo docker run hello-world" was successful, I installed containerlab using the install script option, and it seemed to be happy
I obtained srlinux:20.6.3-145 and the license.key via the appropriate channel and import into docker
I intend to use the quickstart example https://containerlab.srlinux.dev/quickstart/ however I don't have and am not interested in the ceos image, so I just comment it and the links from the topology file
When I launch clab, it appears to have started successfully
but shortly after is no longer running
Below is an extract from my syslog if this helps at all to help point out where I am going wrong Edit - Included launching clab in debug mode if that provides any additional insight One more thing I noticed is that /etc/hosts seemed to end up with duplicated entries of clab devices - possibly related to this problem and the unclean shutdown? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hi @thinghacker And check how many CPU & ram you have The installation steps look ok |
Beta Was this translation helpful? Give feedback.
Hi @thinghacker
Can you check the logs of the exited container with 'docker logs $containerName" command?
And check how many CPU & ram you have
The installation steps look ok