<aside> 💡 Setup time less than 5 minutes
</aside>
<aside> ⚠️ Docker containers are currently supported on Data Center nodes only. On Consumer nodes, docker containers are supported only when rented on a monthly basis.
</aside>
Docker is a tool designed to make it easier to create, deploy, and run applications by using containers.
To run docker containerized applications inside your Q Blocks instance you'd need the docker engine to be installed correctly with Nvidia GPU support.
Follow the steps below for successful installation:
wget '<https://www.qblocks.cloud/resources/setup-docker-gpu.sh>' --no-check-certificate -O - | bash
It should take 2-3 minutes of installation time and should return the following output:
"SUCCESSFULLY INSTALLED DOCKER WITH GPU SUPPORT."
Once you have installed docker engine with GPU support in your Q Blocks instance, running a GPU enabled docker container is fairly straightforward.
For example, if you have 4 GPUs in your instance and you plan to use the first 2 GPUs out of them for a docker Image then simply run a command like this in your instance: