03-02-2022 02:24 AM
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.
03-02-2022 02:50 AM
what is the version of ASR code running (i mean IOS XR)
can you give us teh steps : (or follow below document)
03-02-2022 06:35 AM
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?
03-02-2022 08:33 AM - edited 03-02-2022 08:40 AM
$ docker version
what is the output
You need to run the application to see docker ps
http://yang.ciscolive.com/pod0/labs/lab1/lab1-m3
03-03-2022 07:14 AM
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?
03-02-2022 04:43 AM
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
05-17-2023 02:12 AM
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.
05-17-2023 03:31 AM
what is the version code of ASR ?
05-17-2023 05:44 AM
7.5.2
05-17-2023 05:48 AM
service docker start...
Seem's to work now.
05-17-2023 07:41 AM
good to know all working,
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