mirror of
https://github.com/fatedier/frp.git
synced 2026-05-15 08:05:49 -06:00
[GH-ISSUE #2110] Frpc docker image error: unknown command "./frpc" for "frpc" #1675
Labels
No labels
In Progress
WIP
WaitingForInfo
bug
doc
duplicate
easy
enhancement
future
help wanted
invalid
lifecycle/stale
need-issue-template
need-usage-help
no plan
proposal
pull-request
question
todo
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/frp#1675
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @fredericmalo on GitHub (Nov 24, 2020).
Original GitHub issue: https://github.com/fatedier/frp/issues/2110
[REQUIRED] hat version of frp are you using
Version: v0.34.3 (latest)
[REQUIRED] What operating system and processor architecture are you using
OS: Official Docker image, on macos Catalino
CPU architecture: 64
[REQUIRED] description of errors
Please try this docker-compose.yml:
I'm getting this error:
Frpc | Error: unknown command "./frpc" for "frpc"
Frpc | Run 'frpc --help' for usage.
Frpc exited with code 1
I don't understand as frps docker image works perfectly and seems built the same way as frpc
confile
I've tried to run frpc directly on my mac. It works perfectly.
But frpc container is not working
Thanks, best !
@fatedier commented on GitHub (Nov 25, 2020):
I't not familiar with docker compose.
I just run container with command
Note that we set
ENTRYPOINT ["/usr/bin/frpc"]in dockerfile and theWORKDIRis/app, not/usr/bin.@yuyulei commented on GitHub (Nov 25, 2020):
@fredericmalo in your case, change to
command: frpc -c /cfg/frpc.iniwill be ok.@fredericmalo commented on GitHub (Nov 25, 2020):
You rock, it works ! Thanks !