1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-12-25 02:04:06 +02:00
This commit is contained in:
kev 2015-07-22 01:00:29 +08:00
parent 6c53f10b34
commit 8d030399de
2 changed files with 6 additions and 3 deletions

View File

@ -14,6 +14,7 @@ cowrie:
ports:
- "2222:2222"
volumes:
- dl:/home/cowrie/dl
- log:/home/cowrie/log
restart: always
```
@ -22,11 +23,12 @@ cowrie:
```
$ cd ~/fig/cowrie
$ mkdir -p log/tty
$ chmod -R 777 log
$ mkdir -p dl log/tty
$ chmod -R 777 dl log
$ tree -F
.
├── docker-compose.yml
├── dl/
└── log/
└── tty/
$ docker-compose up -d
@ -39,7 +41,7 @@ $ tail -f log/cowrie.log
$ ssh -p 2222 root@server
```
> You can login as `root` without password.
> You can login as `root` with any password except `root` or `123456`.
[1]: https://github.com/micheloosterhof/cowrie
[2]: http://github.com/desaster/kippo/

View File

@ -3,5 +3,6 @@ cowrie:
ports:
- "2222:2222"
volumes:
- dl:/home/cowrie/dl
- log:/home/cowrie/log
restart: always