How to build docker images on GPU

We planning to shift the releases to docker; i.e. the software that we release will be based on docker. We also have an HPC cluster available.

I tried searching the internet but could not find a reference to make the docker build faster by utilising GPUs. If anyone is doing the same or aware of the procedure “How it can be achieved”, kindly share the same.

  • Templating config file with docker
  • How to pass variable as attribute to xml configuration file in Wildfly with Docker
  • Apache Kafka IO errors
  • tf-random won't install in Docker container
  • How can I run a complex docker command from host machine that runs in the docker host?
  • Is there a way to backup my docker environment
  • Edit I am not talking about accessing gpu from inside the container, I want to use gpu while running docker build

    EDIT I am not sure why the question is marked duplicate? Do we not understand the difference between docker build and docker run? And how do we manage to give power to mark duplicate to people who dont even understand the topic?

  • Use git in jenkins pipeline with docker agent
  • How to enable authentication on MongoDB through Docker?
  • Easy way to give docker container access to my local domains (.local, .dev)
  • .NET Core Container Built with VSTS won't run on Linux
  • The npm command is not found in my NodeJS docker container
  • Upgrading docker without affecting running containers
  • Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.