
The final thing is to logout and in again. If you want to add yourself to the docker group to use docker without sudo, an additional step is needed: :~$ sudo usermod -aG docker $USER You can now get started with using docker, with sudo. All commands are the same however, so running docker on the command line will be the appropriate command: :~$ sudo apt update The version we will be installing is named docker.io.

If you install docker you will not end up with the container version. To install Docker on Kali you need to remember that there is already a package named “docker”, therefore Docker has to be installed under a different name. Therefore, the Docker image resulting from the process is simply a read-only stack of different layers. Then, with a simple docker run command, we create and run a container with the Python service.Īn example of a Dockerfile containing instructions for assembling a Docker image for Python service installing finta is the following # set base image (host OS)įor each instruction or command from the Dockerfile, the Docker builder generates an image layer and stacks it upon the previous ones. The Dockerfile is then processed by the Docker builder which generates the Docker image. To generate a Docker image we need to create a Dockerfile that contains instructions needed to build the image.

The way to get our Python code running in a container is to pack it as a Docker image and then run a container based on it. Someone can explain me in easy steps how to do this ? I understood that the Python module finta should be installed in my Docker containerĪnd NOT in my Windows system (it was easy "pip install finta" from console!).Įven if I tried to find a solution over stackoverflow and google, I do no understand how to do this step (install finta python module in freqtrade container). This strategy requires Python module finta. Well, I started to have problems when I would had try this strategyįor freqtrade. Now, all freqtrade commands run using docker, for example this D:\ft_userdata\user_data>docker-compose run -rm freqtrade backtesting -config user_data/ -datadir user_data/data/binance -export trades -stake-amount 70 -strategy CryptoFrog -i 5m


My Docker knowledge is very poor, I have Docker installed only because I would use freqtrade, so I followed this simple HOWTO
