Fixed docker example sshd init
This commit is contained in:
parent
61e2f014be
commit
7621b2f2f3
4 changed files with 28 additions and 9 deletions
|
|
@ -6,7 +6,11 @@ This clixon example container uses native http.
|
|||
|
||||
## Build
|
||||
|
||||
Perform the build by `make docker`. This copies the latest _committed_ clixon code into the container.
|
||||
Perform the build by:
|
||||
```
|
||||
$ make docker
|
||||
```
|
||||
This copies the latest _committed_ clixon code into the container.
|
||||
|
||||
## Start
|
||||
|
||||
|
|
@ -15,10 +19,15 @@ Start the container:
|
|||
$ ./start.sh
|
||||
```
|
||||
|
||||
If you want to install your pre-existing pub rsa key in the container:
|
||||
If you want to install your pre-existing pub rsa key in the container, and change the name:
|
||||
|
||||
```
|
||||
$ SSHKEY=true ./start.sh
|
||||
$ SSHKEY=true NAME=clixon-example22 ./start.sh
|
||||
```
|
||||
|
||||
You can combine make and start by:
|
||||
```
|
||||
$ make start
|
||||
```
|
||||
|
||||
## Run
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue