1
2
mirror of https://github.com/vimagick/dockerfiles synced 2024-06-25 00:08:49 +00:00
This commit is contained in:
kev 2015-08-26 22:50:36 +08:00
parent 6e2c278d5d
commit 2cd674fc9d

@ -6,7 +6,6 @@ tinc
[`tinc`][1] is a Virtual Private Network (VPN) daemon that uses tunnelling and [`tinc`][1] is a Virtual Private Network (VPN) daemon that uses tunnelling and
encryption to create a secure private network between hosts on the Internet. encryption to create a secure private network between hosts on the Internet.
This tiny image (6.74 MB) is based on `alpine` (5.254 MB).
To use this image, you need to: To use this image, you need to:
- Have baisc knowledges of tinc - Have baisc knowledges of tinc
@ -19,17 +18,16 @@ To use this image, you need to:
~/fig/tinc/ ~/fig/tinc/
├── docker-compose.yml ├── docker-compose.yml
└── tinc/ └── tinc/
├── netname/ └── netname/
│   ├── hosts/    ├── hosts/
│   │   ├── client    │   ├── client
│   │   ├── client-down    │   ├── client-down*
│   │   ├── client-up    │   ├── client-up*
│   │   └── server    │   └── server
│   ├── rsa_key.priv    ├── rsa_key.priv
│   ├── tinc.conf    ├── tinc.conf
│   ├── tinc-down    ├── tinc-down*
│   └── tinc-up    └── tinc-up*
└── nets.boot
``` ```
## docker-compose.yml ## docker-compose.yml
@ -41,7 +39,7 @@ tinc:
- "655:655/tcp" - "655:655/tcp"
- "655:655/udp" - "655:655/udp"
volumes: volumes:
- tinc:/etc/tinc - ./tinc:/etc/tinc
environment: environment:
- VERBOSE=2 - VERBOSE=2
cap_add: cap_add: