专属域名
文档搜索
轩辕助手
Run助手
邀请有礼
返回顶部
快速返回页面顶部
收起
收起工具栏
轩辕镜像 官方专业版
轩辕镜像 官方专业版轩辕镜像 官方专业版官方专业版
首页个人中心搜索镜像

交易
充值流量我的订单
工具
提交工单镜像收录一键安装
Npm 源Pip 源Homebrew 源
帮助
常见问题
其他
关于我们网站地图

官方QQ群: 1072982923

ddmal/rodan-client Docker 镜像 - 轩辕镜像

rodan-client
ddmal/rodan-client
ddmal
This is the Rodan-Client Development image
0 次下载
🙃 代码没问题,结果发布失败在拉镜像
镜像简介版本下载
🙃 代码没问题,结果发布失败在拉镜像

rodan-docker

This repository contains Docker images that can be used to set up Rodan locally for development. These images can also be used in the future with slight modifications for deployment to a production environment.

Objectives
  • Simplify the installation process of Rodan on multiple platforms.
  • Maintain clear installation documentation.

Installation

First, download and install Docker for your platform. If Docker is not supported on your platform (e.g. macOS older than 10.10.3, Windows older than 10 Pro, or unsupported hardware), use Docker Toolbox instead. If you're using Docker Toolbox, see specific instructions below.

After Docker is installed, clone this repository on your computer and run the following command:

shell
docker login

Enter the DDMAL credentials for Docker Hub (contact the lab manager if you don't know them) to save them on your computer. You only need to do this once.

To run Rodan, run the following command in the repository's main directory:

shell
docker-compose up

That's it! Docker will automatically spawn all the containers needed to run Rodan, rodan-client and their dependencies. Point your browser to https://localhost:9002 to view the Rodan web interface. The username is rodan with the password rodan. The Rodan REST API is accessible at https://localhost:8000. If needed, you may observe the log output of the Rodan containers in the terminal window where docker-compose is running. When you are finished, quit docker-compose using Ctrl+C.

Additional configuration for Docker Toolbox users

Docker Toolbox doesn't expose container ports on localhost, it exposes them on the Docker host's IP address instead, which you can get using the following command:

shell
 docker-machine ip default

In order to get the Rodan web interface to find the Rodan server, add an entry to your hosts file redirecting localhost to the Docker host's IP address. The hosts file can be found at /etc/hosts on macOS and c:\Windows\System32\Drivers\etc\hosts on Windows. Add the following entry, replacing the IP address with the output from the above command:

192.168.xxx.xxx     localhost

How does it work?

A Docker container image is a lightweight, stand-alone, executable package of a piece of software that includes everything needed to run it: code, runtime, system tools, system libraries, settings. A container is different from a virtual machine: it is more lightweight and portable because it virtualizes the operating system instead of hardware.

Rodan's Docker setup is comprised of 5 container images:

  1. rodan - the Rodan server providing a REST API.
  2. rodan-client - a web interface for Rodan.
  3. postgres-plpython - the PostgreSQL database used by the Rodan server, with the Python extensions installed.
  4. redis - a key-value database used by the Rodan server to manage websocket connections. TODO: Do we actually use this? (matangover)
  5. rabbitmq - a message queue used as a backend for celery, a Python library used by Rodan for job management.

rodan, rodan-client and postgres-plpython each have a Dockerfile in this repository. For redis and rabbitmq we use existing public images from the Docker Hub. The docker-compose.yml file specifies the dependencies between the container images and combines them to set a complete Rodan installation.

rodan-client and postgres-plpython are public repositories on GitHub and Docker Hub, but rodan-docker on GitHub and rodan on Docker Hub are private. They must be private because they contain Kakadu, a proprietary software package that is licensed to DDMAL. In the future we might create a separate public version of the rodan image without Kakadu.

Setting up a Development Environment

If you wish to work on Rodan or rodan-client and test your changes locally, you have a few options. The docker-compose setup is modular, so you could choose which parts of it you want to take and which you want to override with your local changes.

Working on rodan-client

If you wish to work on rodan-client without modifying Rodan, you may run rodan-client locally and have it connect to the Rodan server run by docker-compose. rodan-client doesn't have many dependencies so it's simple to set up that way.

  1. Clone rodan-client (or use the submodule in rodan-docker) and follow the normal setup instructions.
  2. Copy configuration.json from rodan-docker/rodan-client/config to your own clone of rodan-client. If you want to use your own configuration, make sure it's connected to the Rodan server launched by docker-compose:
json
{
  "SERVER_HOST": "localhost",
  "SERVER_PORT": 8000
}
  1. Run docker-compose up rodan (instead of just docker-compose up) to run Rodan and its dependencies without running rodan-client.
  2. Run gulp as instructed in the Deploy step of the rodan-client setup instructions.
Working on Rodan

You could set up Rodan and its dependencies locally (like described for rodan-client above), but since Rodan has many dependencies that could be a pain to install, a better option would be to clone the Rodan code locally and mount it into the Docker container that already has all the dependencies installed. To run the Rodan stack with the local development version of Rodan:

  1. Make sure Rodan is cloned into rodan-docker/rodan/code/rodan - see Git Submodule Setup below. (You can also use a Rodan clone from a different path, with minor adjustments to the following steps.)

  2. Copy rodan-docker/rodan/code/settings.py.development to rodan-docker/rodan/code/rodan/rodan/settings.py. Note that this settings file does not include any job types other than the default. To enable more job types you must install the jobs into rodan-docker/rodan/code/rodan/rodan/jobs and add them to RODAN_JOB_PACKAGES in settings.py.

  3. Run docker-compose -f docker-compose.yml -f docker-compose.rodan-dev.yml up

When running docker-compose, Docker will mount your local version of the code into the container, overwriting the version of Rodan that's included in the image.

For more information about volumes in Docker, see Use volumes in the Docker documentation. See also the docs for the volumes section of the docker-compose.yml file.

Tips for Interacting with Running Containers

Sometimes it can be useful to inspect files or processes running inside containers. To get a list of running containers, run docker ps. To copy files between the container and the host, use docker cp.

To run any command on a running container, use docker exec. For example, to run bash on the Rodan container launched by docked-compose, run:

shell
docker exec -it rodandocker_rodan_1 bash

Consult the documentation of the Docker command line for additional information.

Git Submodule Setup

This repository uses the Git submodules mechanism to include all the libraries needed to set up Rodan. Git submodules are essentially pointers to other Git repositories, and are specified in the .gitmodules file.

Cloning the submodules is necessary only if you wish to rebuild the Docker images. When using graphical Git clients such as GitHub Desktop or SourceTree, the submodules are usually automatically cloned for you. When cloning on the command line, run the following command after git clone to clone the submodules as well:

shell
git submodule update --init

When you update an upstream repository, e.g. Rodan or rodan-client, the changes will not be reflected in this repository (and hence, in the Docker images) until you pull the changes in. In order to pull a new version of Rodan, for example, run the following commands:

shell
# Pull the submodule changes. The branch name must be specified explicitly.
cd rodan/code/rodan
git pull origin master
# Commit and push the changes to the parent repository (docker-rodan).
cd ../..
git add rodan/code/rodan
git commit -m "Update the rodan submodule"
git push

Rebuilding the Docker images

If you change Rodan or rodan-client, or wish to change something in the way they are installed, you may build new versions of the Docker images, use them locally and eventually publish them. To build a new version of the rodan image, for example, run the following commands from the repository's main directory:

shell
docker build -t ddmal/rodan rodan

The build operation will take into account any changes you have made to rodan/Dockerfile or to any files it depends on. Depending on your changes, the build might take a long time to complete.

After an image is built, you may create a container using that image using docker run rodan. Refer to Docker's Get Started documentation for a more complete guide.

When you're happy with an image and want to publish it to the Docker Hub, run docker push, e.g. docker push ddmal/rodan.

Automated Build

Docker Cloud can automatically build new Docker images when new commits are pushed to a Git repository. Unfortunately, we had problems connecting the rodan-docker GitHub repository to Docker Cloud due to authentication issues, so we set up a private repository on Bitbucket instead.

Every time a new commit is pushed to the Bitbucket repository on the master branch, Docker Cloud will build the Rodan Docker images automatically. To push to the Bitbucket repo, first add it as a remote to your local clone:

git remote add bitbucket [***]

(The password for ddmaldocker on Bitbucket is the same as the password for ddmal on Docker Hub.)

After you're finished committing your changes to the master branch, push to the GitHub remote (origin) as usual, and then also push to to the bitbucket remote:

git push bitbucket master

This will trigger an automated build of the rodan, rodan-client and postgres-plpython images on the Docker Cloud servers. You may monitor the build results on Docker Cloud using the ddmal account credentials.

查看更多 rodan-client 相关镜像 →
regclient/regctl logo
regclient/regctl
用于访问OCI兼容容器仓库的命令行工具
2500K+ pulls
上次更新:未知
regclient/regsync logo
regclient/regsync
Docker仓库同步工具,用于在不同Docker镜像仓库间实现镜像的同步管理。
3100K+ pulls
上次更新:未知
percona/pmm-client logo
percona/pmm-client
PMM Client镜像,作为Percona监控和管理(PMM)的客户端组件,用于收集数据库及相关服务的监控数据并发送至PMM Server,实现对数据库环境的监控与管理。
75M+ pulls
上次更新:未知
regclient/regbot logo
regclient/regbot
Docker镜像仓库脚本工具,用于自动化管理Docker镜像仓库相关任务。
2100K+ pulls
上次更新:未知
bitnami/minio-client logo
bitnami/minio-client
Bitnami提供的minio-client安全镜像,用于管理MinIO对象存储,具备安全可靠的部署特性。
111M+ pulls
上次更新:未知
redislabs/re-call-home-client logo
redislabs/re-call-home-client
暂无描述
1M+ pulls
上次更新:未知

轩辕镜像配置手册

探索更多轩辕镜像的使用方法,找到最适合您系统的配置方式

登录仓库拉取

通过 Docker 登录认证访问私有仓库

Linux

在 Linux 系统配置镜像服务

Windows/Mac

在 Docker Desktop 配置镜像

Docker Compose

Docker Compose 项目配置

K8s Containerd

Kubernetes 集群配置 Containerd

K3s

K3s 轻量级 Kubernetes 镜像加速

Dev Containers

VS Code Dev Containers 配置

MacOS OrbStack

MacOS OrbStack 容器配置

宝塔面板

在宝塔面板一键配置镜像

群晖

Synology 群晖 NAS 配置

飞牛

飞牛 fnOS 系统配置镜像

极空间

极空间 NAS 系统配置服务

爱快路由

爱快 iKuai 路由系统配置

绿联

绿联 NAS 系统配置镜像

威联通

QNAP 威联通 NAS 配置

Podman

Podman 容器引擎配置

Singularity/Apptainer

HPC 科学计算容器配置

其他仓库配置

ghcr、Quay、nvcr 等镜像仓库

专属域名拉取

无需登录使用专属域名

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

镜像拉取常见问题

轩辕镜像免费版与专业版有什么区别?

免费版仅支持 Docker Hub 访问,不承诺可用性和速度;专业版支持更多镜像源,保证可用性和稳定速度,提供优先客服响应。

轩辕镜像支持哪些镜像仓库?

专业版支持 docker.io、gcr.io、ghcr.io、registry.k8s.io、nvcr.io、quay.io、mcr.microsoft.com、docker.elastic.co 等;免费版仅支持 docker.io。

流量耗尽错误提示

当返回 402 Payment Required 错误时,表示流量已耗尽,需要充值流量包以恢复服务。

410 错误问题

通常由 Docker 版本过低导致,需要升级到 20.x 或更高版本以支持 V2 协议。

manifest unknown 错误

先检查 Docker 版本,版本过低则升级;版本正常则验证镜像信息是否正确。

镜像拉取成功后,如何去掉轩辕镜像域名前缀?

使用 docker tag 命令为镜像打上新标签,去掉域名前缀,使镜像名称更简洁。

查看全部问题→

用户好评

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

用户头像

oldzhang

运维工程师

Linux服务器

5

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

轩辕镜像
镜像详情
...
ddmal/rodan-client
官方博客Docker 镜像使用技巧与技术博客
热门镜像查看热门 Docker 镜像推荐
一键安装一键安装 Docker 并配置镜像源
咨询镜像拉取问题请 提交工单,官方技术交流群:1072982923
轩辕镜像面向开发者与科研用户,提供开源镜像的搜索和访问支持。所有镜像均来源于原始仓库,本站不存储、不修改、不传播任何镜像内容。
咨询镜像拉取问题请提交工单,官方技术交流群:
轩辕镜像面向开发者与科研用户,提供开源镜像的搜索和访问支持。所有镜像均来源于原始仓库,本站不存储、不修改、不传播任何镜像内容。
官方邮箱:点击复制邮箱
©2024-2026 源码跳动
官方邮箱:点击复制邮箱Copyright © 2024-2026 杭州源码跳动科技有限公司. All rights reserved.