Install from Docker
Using a pre-compiled version of
hummingbot from Docker allows you to run
hummingbot with a single line command.
Docker images of
hummingbot are available on Docker Hub at coinalpha/hummingbot.
Create new instance of
docker run -it \ --name $NAME \ -v "$PWD"/conf/:/conf/ \ -v "$PWD"/logs/:/logs/ \ coinalpha/hummingbot:$TAG
!!! note "Command Variables"
$TAG with the image version, such as
$NAME with a label you choose, such as 'WETH-USDC'
Config and log files
When creating the instance for the first time, the
docker run command above will create two new folders on your computer and mount them to your instance:
conf/: where configuration files will be stored
log/: where logs will be stored
!!! info "Mounting Existing
If you have existing
log/ folders, running the command above will mount the existing
log/ folders to the newly created docker container instance and allow you to continue using those files.
Reference: Useful Docker commands
||List existing, running containers|
||Start an existing, previously created container|
||Connect to an existing, running container|
Update Hummingbot version
The following command will update an existing instance of
hummingbot with a new, specified version:
docker rm $NAME && \ docker image rm coinalpha/hummingbot:$OLD_TAG && \ docker run -it \ --name $NAME \ -v "$PWD"/conf/:/conf/ \ -v "$PWD"/logs/:/logs/ \ coinalpha/hummingbot:$NEW_TAG