# How do you run your own Docker image on a RentGPUCrypto GPU?

> Run any public Docker Hub or GHCR image on a rented GPU: pick Your own Docker image, enter up to 200 characters, launch. Paid in crypto, no KYC.

- URL: https://rentgpucrypto.com/help/custom-docker-image/
- Last updated: 2026-12-03
- Publisher: RentGPUCrypto (https://rentgpucrypto.com)

**Quick answer — Can I bring my own Docker image?**

**RentGPUCrypto** runs any public image from Docker Hub or GHCR: in the launch form, set Machine image to Your own Docker image and type a name such as `vllm/vllm-openai:latest`. Private registries are not supported. The GPU is billed from $0.37 per hour, paid in Monero or other crypto.

**In brief**

- **Where**: Launch a GPU → Machine image → Your own Docker image → Docker image field.
- **Which images**: public images on Docker Hub or the GitHub Container Registry (ghcr.io).
- **Format**: letters, digits and the characters . _ - / : @, up to 200 characters; tags and sha256 digests both work.
- **Not in the form**: start command, environment variables, ports or registry login.
- **CUDA match**: the image must carry a CUDA build that supports the GPU you rent.

## Which public images are a good starting point?

*Common public GPU images and what each is for, with the GPUs they suit on RentGPUCrypto*

| Image | Registry | Use | Good on |
| --- | --- | --- | --- |
| vllm/vllm-openai | Docker Hub | OpenAI-compatible LLM server with tensor parallelism | L40S, A100 80GB, H100, H200, multi-GPU |
| ollama/ollama | Docker Hub | Quantized GGUF models, simple local API | RTX 4090, RTX 5090, L40S |
| pytorch/pytorch | Docker Hub | Training and notebooks on a pinned PyTorch and CUDA | Any |
| ghcr.io/huggingface/text-generation-inference | GHCR | Hugging Face LLM server | A100 80GB, H100, H200 |

## When is a custom image worth it?

**When you already run the same container elsewhere and want identical behaviour on the rented GPU.** A pinned image removes the hour spent installing Python packages on every new instance, and avoids version drift between your laptop and the cloud.

If you only need PyTorch, the built-in PyTorch with CUDA image is simpler. If you need the bare toolkit to compile kernels, CUDA toolkit only gives that. The custom option is for everything else: an inference server, a team's training image, a ComfyUI build with your nodes baked in.

## How do you launch with a custom image?

1. **Push or pick a public image** — Make sure the image is public on Docker Hub or ghcr.io. Test it with docker pull from a machine where you are logged out.
2. **Pin a version** — Prefer a fixed tag such as pytorch/pytorch:2.7.1-cuda12.8-cudnn9-runtime, or a digest after @sha256:, over latest.
3. **Fill in the launch form** — Open Launch a GPU, choose the GPU and the count, set Machine image to Your own Docker image and type the name in Docker image.
4. **Paste your key and launch** — Add your SSH public key and press the Launch button. The instance page shows the image name under Instance.

## Why does the CUDA version in the image matter?

**Because a CUDA build that predates the GPU's architecture cannot run kernels on it.** The RTX 5090 is a Blackwell card; NVIDIA's Blackwell support starts with CUDA 12.8, and PyTorch publishes matching wheels under the `cu128` tag. An image built on CUDA 12.1 will see the card in `nvidia-smi` but fail when PyTorch tries to use it.

Hopper (H100, H200), Ada Lovelace (RTX 4090, L40S) and Ampere (A100) are older and supported by every recent CUDA 12 image. The host driver is managed by RentGPUCrypto; the CUDA runtime inside your image must not be newer than what that driver supports, which `nvidia-smi` prints in its header.

According to RentGPUCrypto's GPU sheet, the six cards span three architectures, from Ampere to Blackwell.

## What does the form not let you set?

**The form takes the image name and nothing else: no start command, no environment variables, no ports, no registry login.** Secrets such as a Hugging Face token should never be baked into a public image anyway.

Plan to set those over SSH once the instance runs: export the token in your shell or a `.env` file, and start the server with the flags you need. To reach a web interface, forward its port through SSH instead of exposing it; the [SSH keys page](https://rentgpucrypto.com/help/ssh-keys/ "How to create and add an SSH key") shows the `-L` option.

If you would rather have a person do this part, the [environment setup service](https://rentgpucrypto.com/environment-setup/ "GPU environment setup done for you") installs Docker with the NVIDIA runtime and Ollama, vLLM or ComfyUI, and loads one model, for $49.

## What about private images?

**Private registries are not supported at launch, because there is no field for credentials.** Two ways around it: publish a public base image without secrets and add private parts over SSH, or push a public image whose content is harmless and pull private weights from your own storage after login.

For a full vLLM walkthrough on a public image, see [run Llama 70B with vLLM](https://rentgpucrypto.com/guides/run-llama-70b-with-vllm/ "How to run Llama 70B with vLLM on a rented GPU").

## How do you test an image before paying for GPU time?

**Pull and start it on any machine first, even without a GPU.** `docker pull` from a logged-out shell proves the image is public. `docker run --rm <image> nvidia-smi` on a local NVIDIA card, or `docker run --rm <image> python -c "import torch; print(torch.version.cuda)"` without one, shows which CUDA build it carries.

Also check the size with `docker image ls`. Inference images with CUDA libraries often weigh many gigabytes; a slimmer runtime tag saves preparation time. None of this costs GPU-hours, and it catches the two most common problems before the meter starts.

## Custom Docker images: common questions

### Can I use an image from NVIDIA NGC (nvcr.io)?

The launch form names Docker Hub and GHCR as the supported sources. For an NGC image, use the PyTorch or CUDA image and pull from nvcr.io yourself over SSH, or rebuild the layers you need on a public Docker Hub image.

### Can I change the image of a running instance?

No. The image is set at launch. Copy your data out, delete the instance and launch a new one with the other image. The disk of the old instance is wiped on delete.

### Why does my image fail on the RTX 5090?

Most often because it ships a CUDA or PyTorch build older than Blackwell support. Use an image based on CUDA 12.8 or later and a PyTorch build from the cu128 wheels.

### Does a large image cost GPU-hours while it downloads?

Billing starts when the SSH details appear on the instance page, not when you press Launch. Preparation before that point draws nothing from your GPU-hours.

**Verdict**

- Use a custom image when you already trust it elsewhere; pin its tag.
- Match the CUDA build to the card, especially CUDA 12.8 or later for the RTX 5090.
- Keep secrets out of the image and set them over SSH.

## Sources

1. [docker image pull reference](https://docs.docker.com/reference/cli/docker/image/pull/) — Docker
2. [Working with the Container registry (ghcr.io)](https://docs.github.com/en/packages/working-with-a-github-packages-registry/working-with-the-container-registry) — GitHub
3. [CUDA Toolkit release notes](https://docs.nvidia.com/cuda/cuda-toolkit-release-notes/) — NVIDIA
4. [PyTorch: get started locally](https://pytorch.org/get-started/locally/) — PyTorch
5. [vLLM: using Docker](https://docs.vllm.ai/en/latest/deployment/docker.html) — vLLM project

**Bring your container to an H100** 10 GPU-hours for $26.90, paid in crypto, no KYC. [Rent an H100](https://rentgpucrypto.com/app/checkout/?product=h100&plan=h100-10h&from=help-custom-docker-image&lang=en) · [See all prices](https://rentgpucrypto.com/pricing/?from=help-custom-docker-image "How much does it cost to rent a GPU per hour?")

---

RentGPUCrypto: RentGPUCrypto rents whole NVIDIA GPUs (RTX 4090, RTX 5090, L40S, A100 80GB, H100, H200) with root SSH for AI inference, Stable Diffusion and fine-tuning, paid in 7 cryptocurrencies including Monero, with no KYC and no email required.
