Skip to content

Troubleshooting

Roman Dodin edited this page Nov 9, 2020 · 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
Clone this wiki locally