Commit 8c0e4f7 1 parent fd45cbe commit 8c0e4f7 Copy full SHA for 8c0e4f7
File tree 4 files changed +47
-0
lines changed
4 files changed +47
-0
lines changed Original file line number Diff line number Diff line change @@ -356,6 +356,7 @@ A collection of delicious docker recipes.
356
356
- [x] vnc
357
357
- selenoid-ui
358
358
- [x] sentry
359
+ - [x] atmoz/sftp
359
360
- [x] scrapinghub/splash
360
361
- [x] teamatldocker
361
362
- [x] confluence
Original file line number Diff line number Diff line change
1
+ sftp
2
+ ====
3
+
4
+ ![ ] ( https://raw.githubusercontent.com/atmoz/sftp/master/openssh.png )
5
+
6
+ ## up and running
7
+
8
+ ``` bash
9
+ $ chown root:root data
10
+
11
+ $ docker-compose up -d
12
+
13
+ $ sftp -P 2222 foo@localhost
14
+ foo@localhost' s password: ******
15
+ Connected to foo@localhost.
16
+ >>> version
17
+ SFTP protocol version 3
18
+ >>> ls
19
+ upload
20
+ >>> put README.md upload
21
+ Uploading README.md to /upload/README.md
22
+ >>> bye
23
+
24
+ $ tree data
25
+ data
26
+ ├── bar
27
+ ├── baz
28
+ ├── foo
29
+ │ └── upload
30
+ │ └── README.md
31
+ └── users.conf
32
+ ```
33
+
34
+ :warning: Changes to existing users are ignored.
Original file line number Diff line number Diff line change
1
+ foo:123:1001:100:upload
2
+ bar:abc:1002:100:upload
3
+ baz:xyz:1003:100:upload
Original file line number Diff line number Diff line change
1
+ sftp :
2
+ image : atmoz/sftp:alpine
3
+ ports :
4
+ - " 2222:22"
5
+ volumes :
6
+ - /etc/ssh
7
+ - ./data:/home
8
+ - ./data/users.conf:/etc/sftp/users.conf:ro
9
+ restart : unless-stopped
You can’t perform that action at this time.
0 commit comments