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.

  • Docker hanging requiring reboot
  • Docker registry 2.0 api v2 access using auth token
  • Docker ENV command no longer valid when using docker run
  • Eval in docker-machine: terminal vs shell script
  • Docker installation issues on Windows 10 Home Edition
  • What is the authoritative list of Docker Run exit codes?
  • 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?

  • Docker Remote API Filter Exited
  • Docker stops working inside Vagrant When I Update Guest Additions
  • Reverse proxy to WordPress container
  • the available package versions inside an ubuntu docker container change depending on the host OS
  • Ansible - playbook dynamic verbosity
  • Determining if a process runs inside lxc/Docker
  • Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.