/
Launch Hummingbot Miner

Docker Commands

Info and usage of Docker Commands for Hummingbot


Docker commands

CommandDescription
docker psList all running containers
docker ps -aList all created containers (including stopped containers)
docker attach [instance_name]Connect to a running Docker container
docker start [instance_name]Start a stopped container
docker inspect [instance_name]View details of a Docker container, including details of mounted folders

More commands can be found in Docker Documentation.

Docker scripts

These commands execute the helper scripts for running Hummingbot and are performed from the terminal or shell. Ensure that the scripts are located in your current directory before running these commands.

CommandFunction
./create.shCreates a new instance of Hummingbot
./start.shConnect to a running instance or restart an exited Hummingbot instance
./update.shUpdate Hummingbot version

Tip: Run the command ls -l to check the files in your current working directory.

Updating your scripts

We sometimes add/remove/edit commands in the helper scripts along with certain new features like the Scripts we released in version 0.29.0 and you would need to update your scripts.

Copy the commands below and paste into the shell or terminal to delete the old scripts and download the most recently updated ones.

Linux

rm -rf create.sh start.sh update.sh
wget https://raw.githubusercontent.com/CoinAlpha/hummingbot/development/installation/docker-commands/create.sh
wget https://raw.githubusercontent.com/CoinAlpha/hummingbot/development/installation/docker-commands/start.sh
wget https://raw.githubusercontent.com/CoinAlpha/hummingbot/development/installation/docker-commands/update.sh
chmod a+x *.sh

MacOS

rm -rf create.sh start.sh update.sh
curl https://raw.githubusercontent.com/CoinAlpha/hummingbot/development/installation/docker-commands/create.sh -o create.sh
curl https://raw.githubusercontent.com/CoinAlpha/hummingbot/development/installation/docker-commands/start.sh -o start.sh
curl https://raw.githubusercontent.com/CoinAlpha/hummingbot/development/installation/docker-commands/update.sh -o update.sh
chmod a+x *.sh

Windows via Docker Toolbox

cd ~
rm -rf create.sh start.sh update.sh
curl https://raw.githubusercontent.com/CoinAlpha/hummingbot/development/installation/docker-commands/create.sh -o create.sh
curl https://raw.githubusercontent.com/CoinAlpha/hummingbot/development/installation/docker-commands/start.sh -o start.sh
curl https://raw.githubusercontent.com/CoinAlpha/hummingbot/development/installation/docker-commands/update.sh -o update.sh
chmod a+x *.sh
Edit on GitHub