Skip to content

Troubleshooting

Roman Dodin edited this page Mar 6, 2021 · 2 revisions

To remove veth pairs created by containerlab

# for a lab starting with clab
ip l show type veth | grep clab | awk '{print $2}' | cut -d '@' -f1 | xargs -n1 ip l del

To remove containers that are in Created state:

docker ps -a | grep Created | awk '{print $1}' | xargs -n1 docker rm

Common diagnostic steps:

  • stop & remove stale clab containers
  • remove file in /var/run/netns/clab* & /var/run/netns/containerlab*
  • remove docker networks for created by clab and bridges
  • check if tx-offload is disabled
Clone this wiki locally