For a device that has a Thread radio attached to port /dev/ttyUSB0, start wpantund as follows:
docker run --rm --detach -e "OPENTHREAD_DEVICE_PORT=/dev/ttyUSB0" --cap-add=NET_ADMIN --device=/dev/ttyUSB0 --name=wpantund openthread/wpantund
Once wpantund is running, one can control the Thread interface with wpanctl as follows:
docker exec -it wpantund wpanctl
arm32v7_ubuntu_wpantund
x86_ubuntu_wpantund
ot_sim