frp docker image, support running as server or client.
317
A docker container for the frp reverse proxy. Support server/client side mode.
Frp version: 0.9.2
docker run --name some-frp --restart always -d \
--net host \
-e MODE=server \
-v /path/to/frp/config:/var/frp/config \
serenader/docker-frp
Please use host network mode to make sure the container run properly.
MODESpecify which mode to run. Available options are:
server: run as the server side.client: run as the client side.Different mode requires different configuration file. For the server mode, it will require /var/frp/config/frps.ini file for the config. For the client mode, it will require /var/frp/config/frpc.ini file.
Please attach the configuration's folder to the container:
-v /path/to/frp/config:/var/frp/config
Make sure the frps.ini or frpc.ini is exist in your configuration's folder.
Clone this project, and run docker build -t frp ..
Content type
Image
Digest
Size
56.2 MB
Last updated
about 9 years ago
docker pull serenader/docker-frp