06-06-2023 08:42 AM
Hello,
I have a docker image.
Working perfectly fine on linux but when i want to launch it on XR i have an error.
XR:~]$ docker run -td --net=host --name test -v /var/run/netns/global-vrf:/var/run/netns/global-vrf -v /var/run/netns/VRF-A:/var/run/netns/VRF-A:-v /var/run/netns/VRF-B:/var/run/netns/VRF-B --cap-add=SYS_ADMIN telegraf-v5 bash
6d906e6635eb2fa8e1aaef6845190d44d013c2ce7b68b9b2ce1b589e5101bbdd
docker: Error response from daemon: OCI runtime create failed: container_linux.go:348: starting container process caused "exec: \"bash\": executable file not found in $PATH": unknown.
Can someone help on this ?
Olivier.
06-06-2023 09:22 AM
There are some more steps needed to get docker to work with XR properly, with the right hooks:
There are some guides online such as this one https://xrdocs.io/application-hosting/tutorials/2017-02-26-running-docker-containers-on-ios-xr-6-1-2/ that outline how to create and start a docker container in XR.
Sam
06-06-2023 09:44 AM
What do you say it’s that this error is link to the fact that i miss something on the XR configuration?
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide