mirror of
https://github.com/vimagick/dockerfiles.git
synced 2024-12-25 02:04:06 +02:00
update
This commit is contained in:
parent
6c53f10b34
commit
8d030399de
@ -14,6 +14,7 @@ cowrie:
|
|||||||
ports:
|
ports:
|
||||||
- "2222:2222"
|
- "2222:2222"
|
||||||
volumes:
|
volumes:
|
||||||
|
- dl:/home/cowrie/dl
|
||||||
- log:/home/cowrie/log
|
- log:/home/cowrie/log
|
||||||
restart: always
|
restart: always
|
||||||
```
|
```
|
||||||
@ -22,11 +23,12 @@ cowrie:
|
|||||||
|
|
||||||
```
|
```
|
||||||
$ cd ~/fig/cowrie
|
$ cd ~/fig/cowrie
|
||||||
$ mkdir -p log/tty
|
$ mkdir -p dl log/tty
|
||||||
$ chmod -R 777 log
|
$ chmod -R 777 dl log
|
||||||
$ tree -F
|
$ tree -F
|
||||||
.
|
.
|
||||||
├── docker-compose.yml
|
├── docker-compose.yml
|
||||||
|
├── dl/
|
||||||
└── log/
|
└── log/
|
||||||
└── tty/
|
└── tty/
|
||||||
$ docker-compose up -d
|
$ docker-compose up -d
|
||||||
@ -39,7 +41,7 @@ $ tail -f log/cowrie.log
|
|||||||
$ ssh -p 2222 root@server
|
$ 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
|
[1]: https://github.com/micheloosterhof/cowrie
|
||||||
[2]: http://github.com/desaster/kippo/
|
[2]: http://github.com/desaster/kippo/
|
||||||
|
@ -3,5 +3,6 @@ cowrie:
|
|||||||
ports:
|
ports:
|
||||||
- "2222:2222"
|
- "2222:2222"
|
||||||
volumes:
|
volumes:
|
||||||
|
- dl:/home/cowrie/dl
|
||||||
- log:/home/cowrie/log
|
- log:/home/cowrie/log
|
||||||
restart: always
|
restart: always
|
||||||
|
Loading…
Reference in New Issue
Block a user