[PR #78] [MERGED] Initial Docker support #4135

Closed
opened 2026-05-05 14:36:19 -06:00 by gitea-mirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/fatedier/frp/pull/78
Author: @moul
Created: 8/15/2016
Status: Merged
Merged: 8/15/2016
Merged by: @fatedier

Base: devHead: add-docker


📝 Commits (1)

📊 Changes

2 files changed (+16 additions, -0 deletions)

View changed files

.dockerignore (+5 -0)
Dockerfile (+11 -0)

📄 Description

# build
docker build -t fatedier/frps .

# run
docker run                                   \
  -d                                         \
  -p 7500:7500 -p 7000:7000 -p 6000:6000     \
  fatedier/frps                              \
  --log-level=debug                          \
  -L /dev/stdout

# run with custom config file and custom ports
docker run                                   \
  -d                                         \
  -p 7500:7500 -p 7000:7000 -p 6000:6000     \
  -p 80:80 -p 443:443 -p 1234:1234           \
  -v $(pwd)/conf/:/conf                      \
  fatedier/frps                              \
  --log-level=debug                          \
  -L /dev/stdout                             \
  -c /conf/frps.ini

# run a debug shell
docker run -it --rm --entrypoint=/bin/bash fatedier/frps

# push to dockerhub
docker push fatedier/frps

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/fatedier/frp/pull/78 **Author:** [@moul](https://github.com/moul) **Created:** 8/15/2016 **Status:** ✅ Merged **Merged:** 8/15/2016 **Merged by:** [@fatedier](https://github.com/fatedier) **Base:** `dev` ← **Head:** `add-docker` --- ### 📝 Commits (1) - [`3fcf7ef`](https://github.com/fatedier/frp/commit/3fcf7efc5afbaba8c049e60c32f729b139880638) Initial Docker support ### 📊 Changes **2 files changed** (+16 additions, -0 deletions) <details> <summary>View changed files</summary> ➕ `.dockerignore` (+5 -0) ➕ `Dockerfile` (+11 -0) </details> ### 📄 Description ``` bash # build docker build -t fatedier/frps . # run docker run \ -d \ -p 7500:7500 -p 7000:7000 -p 6000:6000 \ fatedier/frps \ --log-level=debug \ -L /dev/stdout # run with custom config file and custom ports docker run \ -d \ -p 7500:7500 -p 7000:7000 -p 6000:6000 \ -p 80:80 -p 443:443 -p 1234:1234 \ -v $(pwd)/conf/:/conf \ fatedier/frps \ --log-level=debug \ -L /dev/stdout \ -c /conf/frps.ini # run a debug shell docker run -it --rm --entrypoint=/bin/bash fatedier/frps # push to dockerhub docker push fatedier/frps ``` --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
gitea-mirror 2026-05-05 14:36:19 -06:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/frp#4135
No description provided.