Docker Commands

Docker commands

Command Description
docker ps List all running containers
docker ps -a List 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.

Command Function
./create.sh Creates a new instance of Hummingbot
./start.sh Connect to a running instance or restart an exited Hummingbot instance
./update.sh Update Hummingbot version

Tip

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

Updating your scripts

Copy the commands below and paste into the shell or terminal to download and enable the automated scripts.

1
2
3
4
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
1
2
3
4
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
1
2
3
4
5
cd ~
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