
Run sysrepod and netopeer2-server in the container:
docker run -it --name sysrepo -p 830:830 --rm sysrepo/sysrepo-netopeer2:latest
Connect to the NETCONF server via SSH to port 830 (username / password is netconf):
ssh netconf@localhost -p 830 -s netconf
In order to get running config via the SSH session use the following snippet:
<?xml version="1.0" encoding="UTF-8"?> <hello xmlns="urn:ietf:params:xml:ns:netconf:base:1.0"> <capabilities> <capability>urn:ietf:params:neconf:base:1.0</capability> <capability>urn:ietf:params:netconf:base:1.1</capability> <capability>urn:ietf:params:netconf:capability:writable-running:1.0</capability> <capability>urn:ietf:params:xml:ns:yang:ietf-netconf-monitoring?module=ietf-netconf-monitoring&revision=2010-10-04</capability> </capabilities> </hello> ]]>]]> #139 <rpc message-id="101" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0"> <get-config> <source> <running /> </source> </get-config> </rpc> ##
To access sysrepoctl or sysrepocfg exec bash in the container:
docker exec -it sysrepo /bin/bash sysrepoctl -l sysrepocfg turing-machine
You can also connect to the NETCONF server via https://hub.docker.com/r/sysrepo/testconf/:
docker run -it --link sysrepo --rm sysrepo/testconf:latest
asciinema demo:

invalid tar header(解压)
TLS 证书失败
DNS 超时
域名连通性排查
410 Gone 排查
402 与流量用尽
401 认证失败
429 限流
D-Bus 凭证提示
413 与超大单层
来自真实用户的反馈,见证轩辕镜像的优质服务