Docker Compose is a tool that defines and runs multiple Docker containers. It orchestrates the process of downloading Docker images and starting Docker containers based on the configuration parameters defined in the docker-compose.yml file. 


In certain circumstances, it will be necessary to remove old Docker images of the DeepHub from your system before starting the Docker containers with Docker Compose. Leaving old Docker images on your system has the potential to lead to issues with Docker Compose.

 

Removing old Docker Images

Open a shell and enter the following command:

docker image ls


This will list all of the Docker images on the system, including their image IDs.



Identify the old Docker images and copy their image IDs. Remove these images with the following command:

docker image rm <IMAGE IDS>


Starting the DeepHub

The DeepHub can now be started with Docker Compose:

docker-compose up