Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docker frpc container launch param error #36

Closed
xiaojiuwo1993 opened this issue Oct 18, 2023 · 3 comments
Closed

docker frpc container launch param error #36

xiaojiuwo1993 opened this issue Oct 18, 2023 · 3 comments

Comments

@xiaojiuwo1993
Copy link

The docker launch cmd is docker run --restart=always --network host -d -v /etc/frp/frpc.ini:/etc/frp/frpc.ini --name frpc snowdreamtech/frpc
however, the args in container is "/usr/bin/frpc -c /etc/frp/frpc.toml", this will cause container always restarting.
please fix it.

    {
        "Id": "f2156d815a9a1c59e1445177ba071eccb2915ef76a3b78bbc238328747ba9d6e",
        "Created": "2023-10-18T08:39:19.240268069Z",
        "Path": "/bin/sh",
        "Args": [
            "-c",
            "/usr/bin/frpc -c /etc/frp/frpc.toml"
        ],
        "State": {
            "Status": "restarting",
            "Running": true,
            "Paused": false,
            "Restarting": true,
            "OOMKilled": false,
            "Dead": false,
            "Pid": 0,
            "ExitCode": 0,
            "Error": "",
            "StartedAt": "2023-10-18T08:40:11.985570198Z",
            "FinishedAt": "2023-10-18T08:40:12.039484257Z"
        },```
@snowdream
Copy link
Collaborator

v0.52.0
Features
Configuration: We now support TOML, YAML, and JSON for configuration. Please note thatINI is deprecated and will be removed in future releases. New features will only be available in TOML, YAML, or JSON. Users wanting these new features should switch their configuration format accordingly. fatedier/frp#2521
Breaking Changes
Change the way to start the visitor through the command line from frpc stcp --role=visitor xxx to frpc stcp visitor xxx.
Modified the semantics of the server_addr in the command line, no longer including the port. Added the server_port parameter to configure the port.
No longer support range ports mapping in TOML/YAML/JSON.

1 similar comment
@snowdream
Copy link
Collaborator

v0.52.0
Features
Configuration: We now support TOML, YAML, and JSON for configuration. Please note thatINI is deprecated and will be removed in future releases. New features will only be available in TOML, YAML, or JSON. Users wanting these new features should switch their configuration format accordingly. fatedier/frp#2521
Breaking Changes
Change the way to start the visitor through the command line from frpc stcp --role=visitor xxx to frpc stcp visitor xxx.
Modified the semantics of the server_addr in the command line, no longer including the port. Added the server_port parameter to configure the port.
No longer support range ports mapping in TOML/YAML/JSON.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants