Skip to content
This repository was archived by the owner on Apr 5, 2026. It is now read-only.
This repository was archived by the owner on Apr 5, 2026. It is now read-only.

How to run using Docker #21

@ZMJGMADHPXWT

Description

@ZMJGMADHPXWT

Hi there. Thank you for updating TG proxy.

I have a problem - can't run proxy using Docker.

docker network create -d bridge docker-net-telegram-mtproto-proxy

git clone https://github.com/GetPageSpeed/MTProxy
cd MTProxy

docker build -t telegram-mtproto-proxy-image .

docker run -itd --memory=200m --cpus=0.2 \
    --name telegram-mtproto-proxy-container \
    --network=docker-net-telegram-mtproto-proxy \
    -p my_external_ip:993:443 \
   --security-opt=no-new-privileges  \
   --restart unless-stopped \
    telegram-mtproto-proxy-image

docker logs telegram-mtproto-proxy-container
gives me that

No SECRET provided, generating one...
/opt/mtproxy/start.sh: line 19: xxd: command not found
Generated secret: 
Starting MTProxy with command: ./mtproto-proxy -u mtproxy -p 8888 -H 443 -S  --http-stats --aes-pwd proxy-secret proxy-multi.conf -M 1
[1][2025-10-10 18:24:01.821663 local] Invoking engine mtproxy-3.0.5 compiled at Oct 10 2025 18:17:31 by gcc 11.4.0 64-bit after commit 
[1][2025-10-10 18:24:01.822164 local] 'S' option requires exactly 32 hex digits
usage: ./mtproto-proxy [-v] [-6] [-p<port>] [-H<http-port>{,<http-port>}] [-M<workers>] [-u<username>] [-b<backlog>] [-c<max-conn>] [-l<log-name>] [-W<window-size>] <config-file>
mtproxy-3.0.5 compiled at Oct 10 2025 18:17:31 by gcc 11.4.0 64-bit after commit 
        Simple MT-Proto proxy
        --ipv6/-6                               enables ipv6 TCP/UDP support
        --max-special-connections/-C <arg>      sets maximal number of accepted client connections per worker

Could you please help me to deploy this proxy?

Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions