Docker Container Application Hosting
You can create your own container on IOS XR, and host applications within the container. The applications can be developed using any Linux distribution. Docker container application hosting is suited for applications that use system libraries that are different from those libraries provided by the IOS XR root file system.
In docker container application hosting, you can manage the amount of resources (memory and CPU) consumed by the hosted applications.
Docker Container Application Hosting Architecture
This section describes the docker container application hosting architecture.
The docker client, run from the bash shell, interacts with dockers (docker 1 and docker 2) by using the docker commands. The docker client
sends the docker commands to docker daemon, which, then, executes the commands. The docker daemon uses the docker.sock
Unix socket to communicate with the dockers.
When the docker run command is executed, a docker container is created and started from the docker image. Docker containers can be either in
global-vrf
namespace or any other defined namespace (for example, VRF-blue).
The docker utilizes overlayfs under the /var/lib/docker
folder for managing the directories.
To host an application in docker containers, see Hosting an Application in Docker Containers.