Self-hosted service
ufoym/deepo avatar
ufoym/deepo

Deepo generates the Dockerfile, and the GPU path runs through one image tag

Setup and customize deep learning environment in seconds.

6,282 stars728 forksPythonMIT

At a glance

What is it?
Deepo is a framework for assembling Docker images for deep learning research: a Dockerfile generator built from Lego-like modules plus a set of prebuilt all-in-one images. It works on one command, and its rough edges are the Linux-only GPU path and a release history that ends in 2017.
Who is it for?
Deepo fits a researcher who wants a working container in a single pull, or a generated Dockerfile they can read and rebuild, and who already has Docker plus the NVIDIA Container Toolkit for GPU work. It does not fit a team that needs a versioned image it can trust by tag alone: the newest release tag is v2.0.0 from 2017-11-27 and the last push to master was on 2026-03-25, so confirm what the current all-in-one image holds before a paper or a pipeline depends on it.
Can I use it commercially?
Yes. MIT is a permissive licence: you can use, modify and sell software built on it, as long as you keep its copyright and licence notices.
Is it still maintained?
Activity is slowing. The repository last received commits 8 months ago.
What is it written in?
Mainly Python, according to GitHub's language statistics.

Answers come from the project's GitHub data, last synced on November 19, 2026, and from our analysis. They are not legal advice.

From daily snapshots

Star history

  • ufoym/deepo6,282 ★ · +5
Star history
Repository2026-09-132026-11-19
ufoym/deepo6.3k6.3k

5 Stars in the last 67 days, measured from the daily GitHub snapshot. Compare with other projects

Editorial analysis

The generator writes a Dockerfile, and sorts the install order for you

The core of Deepo is a Python program that emits a Dockerfile, not a base image you configure through environment variables. You pass the frameworks you want as command line arguments and it writes the file. Three things are claimed for that generator: you describe an environment in a single command line, the output follows Docker best practices with the configuration filled in for you, and dependencies resolve automatically. That last part is the interesting one. Deepo knows which combinations of CUDA, cuDNN, Python, PyTorch, TensorFlow and the rest are compatible, chooses versions on your behalf, and works out installation order by topological sorting instead of a hand-written sequence.

What the top level of the repository does not show is where that compatibility data lives. The tree holds .github/, docker/, generator/ and scripts/, alongside README.md, LICENSE and _config.yml.

docker pull ufoym/deepo is the entire GPU quick start

Two prerequisites, then two commands. Step one is Docker and the NVIDIA Container Toolkit, and the toolkit documentation is the first thing to read because the GPU path fails without it. Step two is pulling the all-in-one image from Docker Hub, and the recommended check is that nvidia-smi works inside a container:

bash
docker pull ufoym/deepo
docker run --gpus all --rm ufoym/deepo nvidia-smi

If that verification command does not work, the project points at the issues section of the NVIDIA Container Toolkit repository rather than at its own troubleshooting, which tells you where the failure usually lives: the host toolkit, not the image. From there an interactive shell and host mounts are one flag away:

bash
docker run --gpus all -it ufoym/deepo bash
docker run --gpus all -it -v /host/data:/data -v /host/config:/config ufoym/deepo bash

The mount pair exists to keep experiments from overwriting or reading the wrong data, since /host/data is visible as /data inside the container.

GPU acceleration is Linux only, and the CPU image is a separate tag

The platform matrix is narrower than the framework list suggests. Prebuilt images run on Linux with CPU or GPU, on Windows with CPU only, and on macOS with CPU only. So a Windows or Mac researcher gets TensorFlow, PyTorch and the rest in a container but no CUDA, and the `--gpus all` flag has no CPU equivalent that changes that. The CPU path is its own tag rather than a flag on the main image, and it needs Docker alone, without the NVIDIA Container Toolkit:

bash
docker pull ufoym/deepo:cpu
docker run -it ufoym/deepo:cpu bash

Inside either image, a bare python gives you the same set of frameworks to import, which is the quick way to see what a tag actually contains:

python
>>> import tensorflow
>>> import torch
>>> import keras
>>> import mxnet
>>> import chainer
>>> import paddle

A darknet entry point is present too, and it prints its own usage line rather than starting work: usage: darknet <function>.

PyTorch multiprocessing outgrows the default shared memory

One failure mode is called out with a specific remedy. Some frameworks, PyTorch named, use shared memory for inter-process communication, and the container's default shared memory size can be too small for that. When it is, you raise it with --ipc=host or with --shm-size, and the same fix appears in both the GPU and CPU examples:

bash
docker run --gpus all -it --ipc=host ufoym/deepo bash
docker run -it --ipc=host ufoym/deepo:cpu bash

Jupyter is the case that needs several flags at once, and it is the longest command in the documentation:

bash
docker run --gpus all -it -p 8888:8888 -v /home/u:/root --ipc=host ufoym/deepo jupyter lab --no-browser --ip=0.0.0.0 --allow-root --LabApp.allow_origin='*' --LabApp.root_dir='/root'

Port 8888 is published to the host, the home directory is mounted at /root, and the origin and root settings are passed to Jupyter Lab itself. Note the security shape of that line: binding to 0.0.0.0 and allowing any origin is convenient on a private machine and exposed on anything else.

Single framework tags replace the all-in-one image

If the all-in-one image feels wrong for a job, the fix is a tag rather than a build step: append the framework name and pull that instead. TensorFlow on its own is one line, and the same pattern covers the other frameworks the generator knows about.

bash
docker pull ufoym/deepo:tensorflow

That path gives up the other frameworks in exchange for a smaller image, which is the trade the customization section is offering. Generating an image is the other option, and it needs a clone of the repository first:

bash
git clone https://github.com/ufoym/deepo.git
cd deepo/generator
python generate.py Dockerfile pytorch keras
python generate.py Dockerfile pytorch keras --cuda-ver 11.3.1 --cudnn-ver 8
python generate.py Dockerfile pytorch keras python==3.8
docker build -t my/deepo .

The framework names are arguments, CUDA and cuDNN versions are flags, and a Python version is another argument in the form python==3.8. The build itself is warned about: it can take several minutes because some libraries are compiled from source.

The alternatives table stops after its header row

Deepo does compare itself to other projects. The table of contents has a Comparison section and a Tags section with Available Tags and Deprecated Tags underneath it. The comparison table names modern-deep-learning, dl-docker and jupyter-deeplearning beside Deepo.

The table of contents also lists Available Tags and Deprecated Tags sections. What is documented is the handful of tags used in the commands: the all-in-one default, :cpu for the CPU image, and :tensorflow as the single-framework example.

Tags stop in 2017 while master took a push in March 2026

The release history is the fact to plan around. Two tags exist, v1.0.0 and v2.0.0, and both were published on the same day, 2017-11-27, minutes apart. The last push to master was on 2026-03-25. That combination says the instructions in the README are being touched while the version history has not moved in years, which means the Docker Hub tags and the git tags tell you different things about age: the README's quick start pulls an untagged default image, and there is no mapping from a git tag to what that image contained at the time.

For a lab this matters in one specific way. Pinning a Docker digest is the only reproducible option available, because neither v1.0.0 nor v2.0.0 identifies a current build. Licensing is the simpler half: MIT at the root, with a LICENSE file.

Editorial conclusion

Deepo fits a researcher who wants a working container in a single pull, or a generated Dockerfile they can read and rebuild, and who already has Docker plus the NVIDIA Container Toolkit for GPU work. It does not fit a team that needs a versioned image it can trust by tag alone: the newest release tag is v2.0.0 from 2017-11-27 and the last push to master was on 2026-03-25, so confirm what the current all-in-one image holds before a paper or a pipeline depends on it. Check that your target is Linux if you need the GPU, add --ipc=host when PyTorch multiprocessing misbehaves, and read the MIT LICENSE alongside whatever you generate.

Frequently asked questions

What does Deepo do for a deep learning environment?

Deepo is a framework for assembling specialized Docker images for deep learning research. It offers prebuilt images covering widely used frameworks with CUDA and cuDNN on Linux or CPU-only mode on Linux, Windows and macOS, plus a generator that writes a Dockerfile from Lego-like modules and resolves framework, CUDA, cuDNN and Python versions for you.

How do I get a GPU-enabled container with Deepo?

Install Docker and the NVIDIA Container Toolkit, then pull the image with docker pull ufoym/deepo and verify GPU access with docker run --gpus all --rm ufoym/deepo nvidia-smi. If the check fails, the project directs you to the issues section of the NVIDIA Container Toolkit repository.

Why does Deepo tell me to add --ipc=host?

Some frameworks, PyTorch among them, use shared memory for inter-process communication, and the container's default shared memory size may be too small when you use multiprocessing. Deepo raises it either with --ipc=host or with --shm-size, and uses that flag in both its GPU and CPU run examples.

Can I get one framework from Deepo instead of everything?

Yes, by appending the framework name as a tag, for example docker pull ufoym/deepo:tensorflow. You can also generate a Dockerfile for a chosen combination with python generate.py Dockerfile pytorch keras, adding flags such as --cuda-ver 11.3.1 --cudnn-ver 8 or a python==3.8 argument, then build it with docker build.

Official sources

  1. License: MIT
  2. Project website
  3. README
  4. Releases
  5. ufoym/deepo on GitHub
Add this badge to your README

If you maintain this project, the badge below links readers to this analysis and shows its maintenance status from the daily GitHub snapshot. Paste the markdown into your README; add ?metric=license or ?metric=stars to the image URL for a different field.

Add this badge to your README

markdown
[![Hysen Labs](https://hysenlabs.com/badge/ufoym-deepo.svg)](https://hysenlabs.com/projects/ufoym-deepo)

Star history chart for your README

markdown
[![Star history](https://hysenlabs.com/chart/ufoym-deepo.svg)](https://hysenlabs.com/projects/ufoym-deepo)

Was this useful?