Suggest use of docker-ssh when create
This commit is contained in:
parent
47e692b57f
commit
b30b745509
@ -17,7 +17,7 @@ run_sshd() {
|
|||||||
|
|
||||||
echo "Connect using root:root on " `docker port $id 22`
|
echo "Connect using root:root on " `docker port $id 22`
|
||||||
port=`docker port $id 22 | cut -f 2 -d :`
|
port=`docker port $id 22 | cut -f 2 -d :`
|
||||||
echo For ssh: ssh -p $port root@localhost
|
echo For ssh: kickstart docker-ssh
|
||||||
echo For deploy: kickstart deploy \"-p $port root@localhost\" '[roles]'
|
echo For deploy: kickstart deploy \"-p $port root@localhost\" '[roles]'
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user