轩辕镜像 官方专业版
轩辕镜像
专业版
轩辕镜像 官方专业版
轩辕镜像
专业版
首页个人中心搜索镜像
交易
充值流量¥7起我的订单
文档
工具
提交工单页面收录
sample-django-app-dev

cloudhotspot/sample-django-app-dev

cloudhotspot
自动构建

Sample Django Application Dev Image

下载次数: 0状态:自动构建维护者:cloudhotspot仓库类型:镜像最近更新:8 年前
让 AI 帮你使用轩辕镜像? · 展开查看说明 · 点击收起说明

如果你使用 DeepSeek、元宝 AI、Copilot、ChatGPT 等 AI 工具,协助配置轩辕镜像、编写 docker pull 命令、修改 Docker Compose 镜像地址、配置镜像加速、排查镜像拉取失败、分析报错日志等问题,请先让 AI 阅读并遵守轩辕镜像的规则文档。

只需在 AI 对话中先发送下面这句话即可:

请先完整阅读并严格遵守以下文档中的全部规则与要求:

https://xuanyuan.cloud/agents.md

在未充分阅读并理解该文档前,不要生成任何命令、配置、修改建议、故障排查方案或技术回答。后续所有输出都必须严格以该文档中的规范为最高优先级执行。

查看 agents.md 用法指南与完整示范。国内用户首推 元宝 AI、DeepSeek 的深度思考模式,不推荐豆包 AI;Cursor 等编辑器可在对话 @ 该链接,或加入 User Rules。 若 AI 无法访问外链,可 打开说明文档 复制全文粘贴。文档会随站点更新,复制内容可能过期,建议定期检查。

镜像简介
下载命令
镜像标签列表与下载命令
使用轩辕镜像,把时间还给真正重要的事。
点击查看

Python Packager

A methodology for continuous integration and packaging of Python and Django applications using http://wheel.readthedocs.org/en/latest/ and [***]

Full documentation is provided at [***]

The goals of this methodology include:

  • Portable workflow - you should be able to run this workflow locally on a developer machine or on a CI system like Jenkins.
  • Create a Python virtual environment (even inside containers, see why here).
  • Create deployable native application artefacts (i.e. Python Wheels, not archives or operating system packages).
  • Create deployable runtime environment artefacts (i.e. Docker images).
  • Create simple to maintain manifests that describe application and runtime environment dependencies.
  • Eliminate development and test dependencies from production runtime environment artefacts.
  • Fast developer feedback - accelerate testing and build activities through Python Wheels caching.
  • Ease of use - reduce complexity of running long Docker commands and orchestrating workflows to simple make style commands.
  • Reusability - use Docker image layering to build dependency and configuration trees that promote reusability
  • Leverage familiar Python tooling - use of pip and virtualenv makes it possible to extract this workflow outside of Docker

Workflow

The initial setup to get started is as follows:

  • Prepare your application
  • Configure your environment
  • Create base image
  • Create development image
  • Create helper images (optional)

With the above in place, the CI workflow can take place. The CI workflow is triggered on each source code commit and thus benefits the most from automation and performance optimisations.

The CI workflow (assuming all tests pass) is as follows:

  • Commit to source code repository
  • Create test environment and run unit/integration tests
  • Build application artefacts (i.e. Python wheels)
  • Build runtime environment artefacts (i.e. Docker images)
  • Deploy release environment for the full application stack (e.g. including databases, caches)
  • Run functional tests against release environment
  • Publish application and runtime environment artefacts

This project demonstrates the workflow outlined above, providing the ability to execute each step on any Linux/OS X machine running a Docker client with access to a Docker host. This workflow can also be automated within a CI system such as Jenkins, triggered by a commit to the source code repository for the application.

The rest of this document provides an example to enable you to get started, and assumes you are using the included sample application located in the src folder. For further information on how to prepare your application for this workflow, refer to the http://pypackage-docker.readthedocs.org/en/latest/application_requirements.html.

Prerequisites

  • Linux/OS X computer
  • Docker client - version 1.8 or higher
  • Docker Compose - version 1.5 or higher
  • Docker daemon (either running locally, on local VM or on a remote host)
  • Docker daemon must have Internet connectivity
  • Docker Machine (Recommended) - if testing on locally OS X, Docker Machine along with your favourite virualisation software is recommended

Initial Setup

Makefile Environment Settings

First, you need to configure your environment either by setting environment variables or by configuring the top portion of the Makefile:

bash
REPO_NS ?= mycompany
APP_NAME ?= myapp
REPO_VERSION ?= latest
TEST_ENV_NAME ?= $(REPO_NS)$(APP_NAME)test
RELEASE_ENV_NAME ?= $(REPO_NS)$(APP_NAME)release

...
...

These settings will determine how the various Docker images and containers that created and used are named. In general, you only need to modify:

  • REPO_NS
  • APP_NAME

Docker Compose Environment Settings

Docker Compose is used to define the following environments for this workflow:

  • Development/Test Environment - this is used for the https://raw.githubusercontent.com/cloudhotspot/pypackage-docker/master/docs/images/ci-workflow.png
  • Release Environment - this is used for the https://raw.githubusercontent.com/cloudhotspot/pypackage-docker/master/docs/images/ci-workflow.png

A set of docker compose files are including in the docker folder of this repository:

  • base.yml - defines services and settings common to both the test and release environments
  • dev.yml - defines services and settings for the development/test environment
  • release.yml - defines services and settings for the release environment

These files are specifically configured for the sample application and must be adapted for your application.

For further information on how to configure the Docker Compose environment settings, refer to the documentation.

Docker Images

The CI workfow requires the following images to be created or available for your CI workflow:

  • Base image
  • Development image

The order of building the above images is important and must be followed from top to bottom.

In addition to the above, the workflow introduces the concept of a helper image, which provides additional functionality specific to the sample application but may be useful for your own workflows.

Creating the Base Image

Create the base image using the make image docker/base command.

The base image should include any common dependencies/configuration settings to both development/test images and production images.

The base image includes an entrypoint script entrypoint.sh that activates the Python virtual environment and runs any command in the virtual environment. This entrypoint is inherited by all child images, promoting reusability.

bash
$ make image docker/base
=> Building Docker image mycompany/myapp-base:56ffcba...
Sending build context to Docker daemon 4.489 MB
Step 0 : FROM ubuntu:trusty
 ---> a005e6b7dd01
Step 1 : MAINTAINER Justin Menga <justin.menga@cloudhotspot.co>
 ---> Running in 32f1743c9b29
 ---> 161672d57fb4
Removing intermediate container 32f1743c9b29
Step 2 : RUN sed -i "s/http:\/\/archive./http:\/\/nz.archive./g" /etc/apt/sources.list &&     apt-get update &&     apt-get install -qyy -o APT::Install-Recommends=false -o APT::Install-Suggests=false python-virtualenv python libffi6 openssl libpython2.7 python-mysqldb
 ---> Running in 73b330b7ea01
...
...
Step 3 : RUN virtualenv /appenv &&     . /appenv/bin/activate &&     pip install pip==7.1.2
 ---> Running in 8bb6b81eb600
New python executable in /appenv/bin/python
Installing setuptools, pip...done.
Downloading/unpacking pip==7.1.2
Installing collected packages: pip
  Found existing installation: pip 1.5.4
    Uninstalling pip:
      Successfully uninstalled pip
Successfully installed pip
Cleaning up...
 ---> 269c64f8032c
Removing intermediate container 8bb6b81eb600
Step 4 : ADD scripts/entrypoint.sh /usr/local/bin/entrypoint.sh
 ---> 6f9432cbfbdd
Removing intermediate container 0ac482760d6e
Step 5 : RUN chmod +x /usr/local/bin/entrypoint.sh
 ---> Running in b007759635ba
 ---> 8b22b92fc5a9
Removing intermediate container b007759635ba
Step 6 : ENTRYPOINT entrypoint.sh
 ---> Running in c768ff3cf1d8
 ---> 0c5087e1533d
Removing intermediate container c768ff3cf1d8
Successfully built 0c5087e1533d
=> Removing dangling images...
=> Image complete
make: `docker/base' is up to date.

Creating the Development Image

Create the builder image using the make image docker/builder command. The development image should include all dependencies required for development, test and build purposes. This image adds the test.sh entrypoint script, which activates the virtual environment, installs the application and then runs a command string (by default python manage.py test):

You must ensure the FROM directive in docker/builder/Dockerfile references the correct base image and version (see Step 0 below):

bash
$ make image docker/dev
make image docker/dev
=> Building Docker image mycompany/myapp-dev:aa54358...
Sending build context to Docker daemon 4.671 MB
Step 0 : FROM mycompany/myapp-base:latest
 ---> 189a212d6439
Step 1 : MAINTAINER Justin Menga <justin.menga@cloudhotspot.co>
 ---> Using cache
 ---> 3f492367a6f6
Step 2 : RUN apt-get install -qy libffi-dev libssl-dev python-dev libmysqlclient-dev
 ---> Using cache
 ---> dab75995db76
Step 3 : RUN . /appenv/bin/activate &&     pip install wheel
 ---> Using cache
 ---> ef510aa5f82a
Step 4 : ENV WHEELHOUSE /wheelhouse PIP_WHEEL_DIR /wheelhouse PIP_FIND_LINKS /wheelhouse XDG_CACHE_HOME /cache
 ---> Using cache
 ---> a44a5ef2f28e
Step 5 : VOLUME /wheelhouse
 ---> Using cache
 ---> 1a7c3a24ac7a
Step 6 : VOLUME /application
 ---> Using cache
 ---> 0a06eb715731
Step 7 : WORKDIR /application
 ---> Using cache
 ---> 459a81d2b166
Step 8 : ADD scripts/test.sh /usr/local/bin/test.sh
 ---> Using cache
 ---> 0e96be69b6b3
Step 9 : RUN chmod +x /usr/local/bin/test.sh
 ---> Using cache
 ---> 9ececed81875
Step 10 : ENTRYPOINT test.sh
 ---> Running in 19ce60284ec2
 ---> 69dd96b1b581
Removing intermediate container 19ce60284ec2
Step 11 : CMD python manage.py test
 ---> Running in 545a1f427287
 ---> f8b528d4dee5
Removing intermediate container 545a1f427287
Successfully built f8b528d4dee5
=> Tagging image as latest...
=> Removing dangling images...
Deleted: 40af76fef075247beef9fe513613e76575e4710db32fd2e5a6af713b0142773d
=> Image complete
make: `docker/dev' is up to date.

Creating the Helper Image (Optional)

A helper image referred to as an agent image is included in this workflow but note that this is specific to the sample application. The agent image runs an Ansible playbook (defined in ansible/agent/site.yml) that is used to allow the MySQL database container time to properly start up when bringing up the environments used in the workflow. Of course you are free to take whatever approach you like to achieve this goal, this approach is just one of many possible solutions to this problem.

You can create the agent image using the make image docker/agent command.

This image has Ansible installed and ansible-playbook defined as its entrypoint. By supplying the agent container with a playbook file and appropriate command string referencing the file, this image provides an easy mechanism to invoke an arbitrary Ansible playbook within the test or release environments in this workflow.

bash
$ make image docker/agent
=> Building Docker image mycompany/myapp-agent:56ffcba...
Sending build context to Docker daemon 4.492 MB
Step 0 : FROM ubuntu:trusty
 ---> a005e6b7dd01
Step 1 : MAINTAINER Justin Menga <justin.menga@cloudhotspot.co>
 ---> Using cache
 ---> 161672d57fb4
Step 2 : RUN sed -i "s/http:\/\/archive./http:\/\/nz.archive./g" /etc/apt/sources.list &&     apt-get update -qy &&     apt-get install -qy software-properties-common &&     apt-add-repository -y ppa:ansible/ansible &&     apt-get update -qy &&     apt-get install -qy ansible
 ---> Running in 879fa3c9923f
...
...
Step 3 : VOLUME /ansible
 ---> Running in 4548ca97e3b0
 ---> c5423b6ca790
Removing intermediate container 4548ca97e3b0
Step 4 : WORKDIR /ansible
 ---> Running in 81ebf5b96c2f
 ---> 67e7dde7c4c5
Removing intermediate container 81ebf5b96c2f
Step 5 : ENTRYPOINT ansible-playbook
 ---> Running in dfb2d85663ca
 ---> 68bb8a312b7b
Removing intermediate container dfb2d85663ca
Successfully built 68bb8a312b7b
=> Removing dangling images...
=> Image complete
make: `docker/agent' is up to date.

Continuous Integration Workflow

With the application, environment and base/builder/test images in place, the continuous integration workflow can be executed. This workflow would typically be invoked on each application source code commit in a production continuous integration system.

However it is possible to complete the steps described below manually on a development machine as required.

The make all command provides a one-shot command to clean the environments, execute the workflow and then bootstrap and activate the release environment.

On each commit, the continuous integration workflow starts by running tests inside the test container using the make test command.

This will install the application and run python manage.py test in a container based upon the test image:

The Docker Compose environments include a volume container that stores the pip cache on the Docker host in /tmp/. This allows subsequent invocations of make test and make build to use cached dependencies for much faster execution times (see example below where the first run of make test takes 36 seconds, whilst the second run takes just under 9 seconds).

bash
$ time make test
=> Ensuring database is ready...
Creating mycompanymyapptest_db_1...
...
...
=> Running tests...
Creating mycompanymyapptest_cache_1...
Processing /application
...
...
Creating test database for alias 'default'...
..........
----------------------------------------------------------------------
Ran 10 tests in 0.066s

OK
Destroying test database for alias 'default'...
=> Testing complete

real  0m36.645s
user  0m0.674s
sys 0m0.201s

$ time make test
=> Ensuring database is ready...
...
=> Running tests...
Processing /application
Collecting Django>=1.8.5 (from SampleDjangoApp==0.1)
  Using cached Django-1.8.5-py2.py3-none-any.whl
...
...
Creating test database for alias 'default'...
..........
----------------------------------------------------------------------
Ran 10 tests in 0.044s

OK
Destroying test database for alias 'default'...

real  0m7.826s
user  0m0.476s
sys 0m0.130s

After testing is successful, application artefacts are built using the make build command. This invokes a builder container defined in the dev.yml Docker Compose file:

yaml
...
...
builder:
  image: mycompany/myapp-dev:latest
  volumes:
    - ../src:/application
    - ../target:/wheelhouse
  volumes_from:
    - cache
  entrypoint: "entrypoint.sh"
  command: ["pip", "wheel", "."]

Notice how the builder container overrides the default entrypoint and command string for the development image. This illustrates the flexibility of Docker images.

The build process will output a Python Wheel for the application and each dependency in the /wheelhouse folder on the container, which is mapped to the target folder on the Docker host (this mapping can be changed in the Docker Compose environment settings):

bash
$ make build
=> Building Python wheels...
Processing /application
Collecting Django>=1.8.5 (from SampleDjangoApp==0.1)
  Using cached Django-1.8.5-py2.py3-none-any.whl
  Saved /wheelhouse/Django-1.8.5-py2.py3-none-any.whl
Collecting uwsgi>=2.0 (from SampleDjangoApp==0.1)
  Saved /wheelhouse/uWSGI-2.0.11.2-py2-none-any.whl
Collecting mysql-python (from SampleDjangoApp==0.1)
  Saved /wheelhouse/MySQL_python-1.2.5-cp27-none-linux_x86_64.whl
Skipping Django, due to already being wheel.
Skipping uwsgi, due to already being wheel.
Skipping mysql-python, due to already being wheel.
Building wheels for collected packages: SampleDjangoApp
  Running setup.py bdist_wheel for SampleDjangoApp
  Stored in directory: /wheelhouse
Successfully built SampleDjangoApp
=> Build complete

With application artefacts built, the final step is to create a release image using the make release command.

This will create an image based from the base image, ensuring development and test dependencies are not included in production releases. The release image is tagged with the current Git commit short SHA hash and also tagged with the value of the REPO_VERSION environment variable (set to latest by default).

bash
$ make release
=> Building Docker image mycompany/myapp-release:56ffcba...
Sending build context to Docker daemon 15.33 MB
Step 0 : FROM mycompany/myapp-base
 ---> 56380f292315
Step 1 : MAINTAINER Justin Menga <justin.menga@cloudhotspot.co>
 ---> Using cache
 ---> 8f3898ac6d14
Step 2 : ENV PORT 8000 PROJECT_NAME SampleDjangoApp
 ---> Using cache
 ---> 55a5b15e6955
Step 3 : ADD target /wheelhouse
 ---> Using cache
 ---> b2860b70ef41
Step 4 : RUN . /appenv/bin/activate &&     pip install --no-index -f wheelhouse ${PROJECT_NAME} &&     rm -rf /wheelhouse
 ---> Using cache
 ---> d5f51f7a5be5
Step 5 : EXPOSE ${PORT}
 ---> Using cache
 ---> 424d2ba7bb37
Successfully built 424d2ba7bb37
=> Tagging image as latest...
=> Removing dangling images...
=> Image complete
make[1]: `docker/release' is up to date.

Running the Release Environment

With release application artefacts and runtime images built, at this point it is possible to establish a sandbox environment with the application release using tools like docker-compose. With the sandbox environment in place, automated functional/integration tests can be executed as a final gate before publishing the release application artefact and runtime image. With the various artefacts published, your continuous deployment processes can be triggered to release the application into the appropriate target environments.

This project includes a make bootstrap command that performs the following tasks specific to the sample application:

  • Bring up release environment database and ensure it is ready
  • Runs Django migrations
  • Creates Django admin super user
  • Collects Django static files

With the release environment bootstrapped, you can run make start which will start the release environment in a ready to run state. Similarly you can use make stop to stop the release environment without destroying it.

You can also run arbitrary commands against the created release image, which can be useful. The following commands can be used for this:

  • make run <cmd> - creates a container from the release image, runs an arbitrary command and destroys the container
  • make manage <django admin cmd> - creates a container from the release image, runs a Django admin command and destroys the container

Examples:

bash
$ make bootstrap
=> Bootstraping release environment...
=> Ensuring database is ready...
Creating mycompanymyapprelease_db_1...
...
...
TASK: [Message] ***************************************************************
ok: [localhost] => {
    "msg": "Probing db:3306 with delay=0s and timeout=180s"
}

TASK: [Waiting for host to respond...] ****************************************
ok: [localhost -> 127.0.0.1]
...
...
=> Running migrations...
=> Running python manage.py migrate...
Creating mycompanymyapprelease_static_1...
Operations to perform:
  Synchronize unmigrated apps: staticfiles, messages
  Apply all migrations: admin, contenttypes, polls, auth, sessions
Synchronizing apps without migrations:
  Creating tables...
    Running deferred SQL...
  Installing custom SQL...
Running migrations:
  Rendering model states... DONE
  Applying contenttypes.0001_initial... OK
  Applying auth.0001_initial... OK
  Applying admin.0001_initial... OK
  Applying contenttypes.0002_remove_content_type_name... OK
  Applying auth.0002_alter_permission_name_max_length... OK
  Applying auth.0003_alter_user_email_max_length... OK
  Applying auth.0004_alter_user_username_opts... OK
  Applying auth.0005_alter_user_last_login_null... OK
  Applying auth.0006_require_contenttypes_0002... OK
  Applying polls.0001_initial... OK
  Applying sessions.0001_initial... OK
=> Creating Django admin user...
=> Running python manage.py createsuperuser...
Username (leave blank to use 'root'): admin
Email address: admin@example.com
Password: ********
Password (again): ********
Superuser created successfully.
=> Collecting static assets...
=> Running python manage.py collectstatic --noinput...
Copying '/appenv/local/lib/python2.7/site-packages/django/contrib/admin/static/admin/js/urlify.js'
Copying '/appenv/local/lib/python2.7/site-packages/django/contrib/admin/static/admin/js/SelectBox.js'
...
...

63 static files copied to '/var/www/mysite/static'.
=> Bootstrap complete

$ make start
=> Starting release environment...
mycompanymyapprelease_db_1 is up-to-date
Starting mycompanymyapprelease_static_1...
Creating mycompanymyapprelease_app_1...
Creating mycompanymyapprelease_agent_1...
=> Release environment started
bash
# Get an interactive prompt
$ make run bash
docker run -it --rm -p 8000:8000 mycompany/myapp:latest  bash
root@a584b6cb23a6:/# manage.py check
System check identified no issues (0 silenced).
root@a584b6cb23a6:/# ping 8.8.8.8
PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
64 bytes from 8.8.8.8: icmp_seq=1 ttl=127 time=39.0 ms
bash
# Run Django migrations
$ make manage migrate
docker run -it --rm -p 8000:8000 mycompany/myapp:latest manage.py migrate
Operations to perform:
  Synchronize unmigrated apps: staticfiles, messages
  Apply all migrations: admin, contenttypes, polls, auth, sessions
Synchronizing apps without migrations:
  Creating tables...
    Running deferred SQL...
  Installing custom SQL...
Running migrations:
  Rendering model states... DONE
  Applying contenttypes.0001_initial... OK
  Applying auth.0001_initial... OK
  Applying admin.0001_initial... OK
  Applying contenttypes.0002_remove_content_type_name... OK
  Applying auth.0002_alter_permission_name_max_length... OK
  Applying auth.0003_alter_user_email_max_length... OK
  Applying auth.0004_alter_user_username_opts... OK
  Applying auth.0005_alter_user_last_login_null... OK
  Applying auth.0006_require_contenttypes_0002... OK
  Applying polls.0001_initial... OK
  Applying sessions.0001_initial... OK
bash
# Run Django collectstatic
$ make -- manage collectstatic --noinput
docker run -it --rm -p 8000:8000 mycompany/myapp:latest manage.py collectstatic --noinput
Copying '/appenv/local/lib/python2.7/site-packages/django/contrib/admin/static/admin/css/base.css'
Copying '/appenv/local/lib/python2.7/site-packages/django/contrib/admin/static/admin/css/rtl.css'
...
63 static files copied to '/var/www/mysite/static'.

Use the -- separator after the make command to allow any subsequent arguments to be passed to the docker run command, rather than being interpreted by the make command as arguments.

Currently there are some limitations related to how make works that restrict colons and possibly other special characters being used in the command string passed to make run and make manage.

TODO

  • Add automatic versioning
  • Add support to publish Python Wheels and Docker Images
  • Add functional tests example
  • Add CI system example (e.g. using Jenkins or GoCD)
  • Add CD workflow
  • Add support for Git branching

Acknowledgements

Inspiration and ideas for this project were drawn from the following sources:

  • [***]
  • [***]
  • [***]
  • [***]

镜像拉取方式

您可以使用以下命令拉取该镜像。请将 <标签> 替换为具体的标签版本。如需查看所有可用标签版本,请访问 标签列表页面。

轩辕镜像加速拉取命令点我查看更多 sample-django-app-dev 镜像标签

docker pull docker.xuanyuan.run/cloudhotspot/sample-django-app-dev:<标签>

使用方法:

  • 登录认证方式
  • 免认证方式

DockerHub 原生拉取命令

docker pull cloudhotspot/sample-django-app-dev:<标签>

轩辕镜像配置手册

按平台快速找到配置文档

一键安装

一键安装 Docker

Linux Docker 一键安装

AI

用 AI 使用轩辕镜像

agents.md · AI 对话 · 提示词

Docker

登录仓库拉取

登录认证 · 私有仓库

专属域名拉取

免登录 · 高速拉取

Linux

Docker 镜像配置

Windows / Mac

Docker Desktop 配置

MacOS OrbStack

OrbStack 容器

Apple Container

macOS 原生容器

Docker Compose

Compose 项目配置

NAS

群晖

Synology 配置

飞牛

fnOS 镜像配置

绿联

绿联 NAS

威联通

QNAP 配置

极空间

极空间 NAS

Unraid

Unraid NAS

企业仓库

其他仓库

ghcr · Quay · nvcr

Harbor 镜像源

Proxy Repository 对接

Portainer 镜像源

Registries 配置

Nexus 镜像源

Docker Proxy 缓存

开发工具

Dev Containers

VS Code 开发容器

Podman

Podman 配置指南

Singularity / Apptainer

HPC 科学计算容器

Kubernetes

K8s Containerd

Kubernetes · Containerd

K3s

轻量级集群

面板 / 网络

爱快路由

爱快 4.0 · iKuai 镜像加速

宝塔面板

一键配置镜像源

需要其他帮助?请查看我们的 常见问题Docker 镜像访问常见问题解答 或 提交工单

镜像拉取常见问题

功能

版本功能对比

功能对比 · 版本选择

支持的镜像仓库

Docker Hub · GCR · GHCR

专属域名用法

专属域名 · 开启停用 · 多仓库

新手拉取配置

登录 · 专属域名 · 配置

docker search 限制

专属域名 · Hub 搜索

不支持 push

仅支持 pull · 不支持

拉取速度原因

带宽 · 缓存 · 冷热镜像

错误码

402 与流量用尽

402 · 流量包 · 充值

401 认证失败

401 · docker login

manifest unknown

标签错误 · 镜像不存在

410 Gone 排查

410 · Docker 升级

429 限流

免费版 · 专业版 · 企业版 · 请求频率

其他报错

DNS 超时

DNS 解析 · 网络超时

TLS 证书失败

no matching manifest(架构)

账号

失败是否计费

manifest · blob · 计费

申请开发票(企业 / 个人)

企业 · 个人 · 工单

修改登录密码

网站 · 仓库 · 重置

注销账户

工单 · 数据 · 注销

原理

mirrors 不生效

daemon.json · 重启

去掉域名前缀

docker tag · 重命名

指定架构拉取

ARM64 · AMD64 · 多架构

latest 与「最新」

digest · 版本号 · 标签

查看全部问题→

用户好评

来自真实用户的反馈,见证轩辕镜像的优质服务

用户头像

oldzhang

运维工程师

Linux服务器

5

"Docker访问体验非常流畅,大镜像也能快速完成下载。"

轩辕镜像
镜像详情
...
cloudhotspot/sample-django-app-dev
定价查看流量套餐与价格
博客Docker 镜像公告与技术博客
专业版 · 高速稳定拉取镜像
高速镜像下载·在线技术支持·99.95% SLA 保障·付费会员免广告
50GB 仅 ¥7/年
专业版 · 高速稳定拉取镜像
50GB 仅 ¥7/年
高速镜像下载·在线技术支持·99.95% SLA 保障·付费会员免广告
用户协议·隐私政策·增值电信业务经营许可证:浙B2-20261007·©2024-2026 源码跳动©2024-2026 杭州源码跳动科技有限公司·商务合作:点击复制邮箱

更多 sample-django-app-dev 镜像推荐

django logo

library/django

Docker 官方镜像
该镜像已官方弃用,推荐使用标准`python`镜像替代,2016年12月31日后不再更新。其原价值为预安装mysql-client、postgresql-client和sqlite3,用于Django框架,现可通过自定义Dockerfile实现类似功能。
1.2千 次收藏1000万+ 次下载
9 年前更新
appdynamics/sample-app-web logo

appdynamics/sample-app-web

appdynamics
用于AppDynamics示例应用的Angular.js Web应用容器,提供前端Web界面支持,便于演示和测试AppDynamics功能。
5 次收藏5万+ 次下载
9 年前更新
appdynamics/sample-app-rest logo

appdynamics/sample-app-rest

appdynamics
用于AppDynamics示例应用的REST服务容器,基于Java、JAX_RS和Hibernate构建,提供RESTful API服务支持。
3 次收藏5万+ 次下载
9 年前更新
okteto/django logo

okteto/django

okteto
暂无描述
3 次收藏1万+ 次下载
6 年前更新
okteto/sample-app logo

okteto/sample-app

okteto
一个简单的Python应用(使用Flask框架),可轻松部署在Okteto上。
1 次收藏5.6千+ 次下载
7 年前更新
appdynamics/sample-app-web-staging logo

appdynamics/sample-app-web-staging

appdynamics
暂无描述
2 次收藏1万+ 次下载
9 年前更新

查看更多 sample-django-app-dev 相关镜像