cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1256
Views
0
Helpful
2
Replies

docker : Error response from daemon: OCI runtime create failed

oeche
Level 1
Level 1

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.

2 Replies 2

smilstea
Cisco Employee
Cisco Employee

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

What do you say it’s that this error is link to the fact that i miss something on the XR configuration?