Hi there I have installed phalcon into docker using this dockerFile

FROM php:7.2-apache

LABEL maintainer="Mitja Kocjančič"
LABEL version="1.0"

RUN apt-get update && apt-get install -y \
    cron \
    anacron \
    git \
    libpcre3-dev \
    libmcrypt-dev \
    libxml2-dev \
    zlib1g-dev \
    libssh2-1 \
    libssh2-1-dev \
    libpng-dev \
    --no-install-recommends \
    && docker-php-ext-install -j$(nproc) pdo_mysql mbstring soap zip gd \
    && cp /usr/local/bin/php /usr/bin/

# Install PECL extensions
RUN pecl install xdebug && pecl install mcrypt-1.0.1 && pecl install ssh2-1.1.2
RUN docker-php-ext-enable xdebug mcrypt ssh2

# Install Phalcon
WORKDIR /usr/local/src
RUN git clone https://github.com/phalcon/cphalcon.git --branch v3.4.3 --single-branch
WORKDIR /usr/local/src/cphalcon/build
RUN ./install

WORKDIR /etc/php7/mods-available
RUN echo 'extension=phalcon.so' >> phalcon.ini
RUN docker-php-ext-enable phalcon

# Phalcon dev tools
RUN cd ~  && git clone git://github.com/phalcon/phalcon-devtools.git \
&& cd phalcon-devtools/ && ./phalcon.sh \
&& ln -s ~/phalcon-devtools/phalcon.php /usr/bin/phalcon  \
&& chmod ugo+x /usr/bin/phalcon

#Allow .htacsess to be executed and allow modRewrite
RUN sed -i '/<Directory \/var\/www\/>/,/<\/Directory>/ s/AllowOverride None/AllowOverride All/' /etc/apache2/apache2.conf
RUN a2enmod rewrite
WORKDIR /var/www/

then I am runnig my project with docker-composer my docker-compose.yml looks like:

version: "3.1"
services:
    www:
        build: .
        ports: 
            - "80:80"
        environment:
            XDEBUG_CONFIG: "remote_enable=1 remote_host=172.16.101.13 remote_port=9000 idekey=PHPSTORM"
        volumes:
            - ../../dev:/var/www/html/
        links:
            - db
        networks:
            - default
    db:
        image: mysql:8.0
        ports: 
            - "3306:3306"
        command: --default-authentication-plugin=mysql_native_password
        environment:
            MYSQL_DATABASE: myDb
            MYSQL_USER: push
            MYSQL_PASSWORD: push
            MYSQL_ROOT_PASSWORD: root
        volumes:
            - ./dump:/docker-entrypoint-initdb.d
            - ./conf:/etc/mysql/conf.d
            - persistent:/var/lib/mysql
        networks:
            - default
    phpmyadmin:
        image: phpmyadmin/phpmyadmin
        links: 
            - db:db
        ports:
            - 8000:80
        environment:
            MYSQL_USER: push
            MYSQL_PASSWORD: push
            MYSQL_ROOT_PASSWORD: root 
volumes:
    persistent:

when trying to try to run phalcon dev-tools with phalcon --version nothing is shown not even any error so I don't know what is happening as Phalcon its selft works fine (I can normlly run my Phalcon app) just devTools don't seem to work

Thanks for Anwsering and Best Regards