Docker container for Metatrader4

Discussion about Docker
Locked
User avatar
Innuendo1980
Posts: 3
Joined: 28 Aug 2024, 03:12
Italy

Docker container for Metatrader4

Post by Innuendo1980 »

Hi all, i need to know if is possible to have a docker container deployable on my terramaster F2-423 for Metatrader 4.
I wait for someone could help me on this topic. Thanks
User avatar
makhai
Posts: 23
Joined: 18 Jul 2024, 23:08
France

Re: Docker container for Metatrader4

Post by makhai »

Hi
I don't know this soft, but I suppose you can pull it from docker hub and create a project with a yml conf file

https://hub.docker.com/r/mintjetos/metatrader
User avatar
Innuendo1980
Posts: 3
Joined: 28 Aug 2024, 03:12
Italy

Re: Docker container for Metatrader4

Post by Innuendo1980 »

Thanks a lot makhai, I'm not so expert about docker, you think I can find a step by step guide for to deploy this container? Many thanks for your answer
User avatar
makhai
Posts: 23
Joined: 18 Jul 2024, 23:08
France

Re: Docker container for Metatrader4

Post by makhai »

I tried to write a compose file but it seems like this soft need a desktop environment like X11.
I don't think you can use it from your NAS.
Here is the yml file if you want :

Code: Select all

name: mt4
services:
  metatrader:
    image: mintjetos/metatrader:latest
    container_name: mt4
    stdin_open: true
    tty: true
    environment:
      - VERSION=mt4
      - DISPLAY=$DISPLAY # Must be setup on a linux desktop I think
    volumes:
      - mt4:'/home/mint/.mt4/drive_c/ProgramFiles (x86)/MetaTrader 4'
      - /tmp/.X11-unix:/tmp/.X11-unix
      - /tmp/.Xauthority:/tmp/.Xauthority

volumes:
  mt4:
  
I found another docker image accessible with web browser, but with 5th edition
https://github.com/FortesenseLabs/metatrader-terminal
This github repo provide "docker-compose‧mt5.yml" file you can use for project with docker manager
User avatar
Innuendo1980
Posts: 3
Joined: 28 Aug 2024, 03:12
Italy

Re: Docker container for Metatrader4

Post by Innuendo1980 »

Thanks makhai i solved creating on the NAS a wm with a light version of windows 11 and mt4 software, it's fully operative and I can check everything in real time also remotely.
Bye
Locked

Return to “Docker”