cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1772
Views
0
Helpful
10
Replies

ASR9K - Docker

oeche
Level 1
Level 1

Hi guys,

 

I'm trying to use docker on ASR9K or NCS540 and when i try to list container or image :

 

RP/0/RSP0/CPU0:#bash     
[hostname:~]$ docker ps
Cannot connect to the Docker daemon. Is the docker daemon running on this host?

 

Any help to launch the process ?

 

Thanks.

10 Replies 10

balaji.bandi
Hall of Fame
Hall of Fame

what is the version of ASR code running (i mean IOS XR)

 

can you give us teh steps : (or follow below document)

 

https://xrdocs.io/application-hosting/tutorials/2017-02-26-running-docker-containers-on-ios-xr-6-1-2/

 

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

Hey @balaji.bandi 

 

The version is :

Build Information:
 Built By     : deenayak
 Built On     : Mon Jan 27 01:50:52 PST 2020
 Built Host   : iox-ucs-014
 Workspace    : /auto/srcarchive15/prod/7.1.1/asr9k-x64/ws
 Version      : 7.1.1

 Location     : /opt/cisco/XR/packages/
 Label        : 7.1.1

 

 

 

I follow up this tutorial.

But when i want to load a docker image.

It doesn't work saying :

Cannot connect to the Docker daemon. Is the docker daemon running on this host?

 

On ASR :

 

[hostname:~]$ docker version
Client:
 Version:      1.10.0
 API version:  1.22
 Go version:   go1.4.2
 Git commit:   4a3b10a
 Built:        Fri Oct  5 01:10:24 2018
 OS/Arch:      linux/amd64
Cannot connect to the Docker daemon. Is the docker daemon running on this host?
[hostname:~]$

 

Even when i try to load an image :

 

[hostname:/harddisk:]$ docker load -i iperf-docker.tar
Cannot connect to the Docker daemon. Is the docker daemon running on this host?

 

oeche
Level 1
Level 1

Yes

 

The version is :

Build Information:
 Built By     : deenayak
 Built On     : Mon Jan 27 01:50:52 PST 2020
 Built Host   : iox-ucs-014
 Workspace    : /auto/srcarchive15/prod/7.1.1/asr9k-x64/ws
 Version      : 7.1.1
 Location     : /opt/cisco/XR/packages/
 Label        : 7.1.1

Hello,

Any help on this subject.

[Host~]$ docker version
Client:
Version: 18.05.0-ce
API version: 1.37
Go version: go1.9.2
Git commit: f150324
Built: Wed Feb 19 17:25:12 2020
OS/Arch: linux/amd64
Experimental: false
Orchestrator: swarm
Cannot connect to the Docker daemon at unix:///misc/app_host/docker.sock. Is the docker daemon running?

Olivier.

what is the version code of ASR ?

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

7.5.2

service docker start...

Seem's to work now.

good to know all working,

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help