* Changed docker builds
* `clixon-test` built in `docker/test`
* Renamed from `clixon-system` built in `docker/main`
* `clixon-example` built in `docker/example`
* Added netconf ssh subsystem
* Renamed from `clixon` built in `docker/base`
* Added ietf-yang-schema-mount@2019-01-14.yang
This commit is contained in:
parent
571e26e0d6
commit
61e2f014be
30 changed files with 14044 additions and 2634 deletions
46
docker/example/README.md
Normal file
46
docker/example/README.md
Normal file
|
|
@ -0,0 +1,46 @@
|
|||
# Clixon main example docker image
|
||||
|
||||
This directory contains code for building a clixon main example docker container.
|
||||
|
||||
This clixon example container uses native http.
|
||||
|
||||
## Build
|
||||
|
||||
Perform the build by `make docker`. This copies the latest _committed_ clixon code into the container.
|
||||
|
||||
## Start
|
||||
|
||||
Start the container:
|
||||
```
|
||||
$ ./start.sh
|
||||
```
|
||||
|
||||
If you want to install your pre-existing pub rsa key in the container:
|
||||
|
||||
```
|
||||
$ SSHKEY=true ./start.sh
|
||||
```
|
||||
|
||||
## Run
|
||||
|
||||
The CLI directly
|
||||
```
|
||||
$ sudo docker exec -it clixon-example clixon_cli
|
||||
```
|
||||
|
||||
The CLI via ssh (if keys setup correctly) where 172.x.x.x is the addresss of eth0
|
||||
```
|
||||
$ ssh -t root@172.x.x.x clixon_cli
|
||||
```
|
||||
|
||||
Netconf via ssh:
|
||||
```
|
||||
$ ssh root@172.x.x.x -s netconf
|
||||
```
|
||||
|
||||
## Push
|
||||
|
||||
You may also do `make push` if you want to push the image, but you may then consider changing the image name (in the makefile:s).
|
||||
|
||||
(You may have to login for push with sudo docker login -u <username>)
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue