ppc64le/redmine Docker Image
Redmine是基于Ruby on Rails框架开发的灵活的项目管理Web应用。
Note: this is the "per-architecture" repository for the ppc64le builds of https://hub.docker.com/_/redmine -- for more information, see https://github.com/docker-library/official-images#architectures-other-than-amd64 and https://github.com/docker-library/faq#an-images-source-changed-in-git-now-what.
Quick reference
-
Maintained by:
https://github.com/docker-library/redmine -
Where to get help:
https://dockr.ly/comm-slack, Server Fault, https://unix.stackexchange.com/help/on-topic, or https://stackoverflow.com/help/on-topic
Supported tags and respective Dockerfile links
-
https://github.com/docker-library/redmine/blob/49a27f29f1d214a4226af75b55578e36d3474c4c/7.0/trixie/Dockerfile
-
https://github.com/docker-library/redmine/blob/49a27f29f1d214a4226af75b55578e36d3474c4c/7.0/alpine3.24/Dockerfile
-
https://github.com/docker-library/redmine/blob/49a27f29f1d214a4226af75b55578e36d3474c4c/7.0/alpine3.23/Dockerfile
-
https://github.com/docker-library/redmine/blob/2629db055bd4efe7c2ded28bac1e8b0f35aacfbc/6.1/trixie/Dockerfile
-
https://github.com/docker-library/redmine/blob/2629db055bd4efe7c2ded28bac1e8b0f35aacfbc/6.1/alpine3.24/Dockerfile
-
https://github.com/docker-library/redmine/blob/2629db055bd4efe7c2ded28bac1e8b0f35aacfbc/6.1/alpine3.23/Dockerfile
-
https://github.com/docker-library/redmine/blob/ec4c2901fc***c6c488553f07335110bc87d78/6.0/trixie/Dockerfile
-
https://github.com/docker-library/redmine/blob/ec4c2901fc***c6c488553f07335110bc87d78/6.0/bookworm/Dockerfile
-
https://github.com/docker-library/redmine/blob/ec4c2901fc***c6c488553f07335110bc87d78/6.0/alpine3.24/Dockerfile
-
https://github.com/docker-library/redmine/blob/ec4c2901fc***c6c488553f07335110bc87d78/6.0/alpine3.23/Dockerfile
Quick reference (cont.)
-
Where to file issues:
https://github.com/docker-library/redmine/issues?q=is:issue+is:pr -
Supported architectures: (https://github.com/docker-library/official-images#architectures-other-than-amd64)
https://hub.docker.com/r/amd64/redmine/, https://hub.docker.com/r/arm32v5/redmine/, https://hub.docker.com/r/arm32v6/redmine/, https://hub.docker.com/r/arm32v7/redmine/, https://hub.docker.com/r/arm64v8/redmine/, https://hub.docker.com/r/i386/redmine/, https://hub.docker.com/r/ppc64le/redmine/, https://hub.docker.com/r/riscv64/redmine/, https://hub.docker.com/r/s390x/redmine/ -
Published image artifact details:
https://github.com/docker-library/repo-info/blob/master/repos/redmine (https://github.com/docker-library/repo-info/commits/master/repos/redmine)
(image metadata, transfer size, etc) -
Image updates:
https://github.com/docker-library/official-images/issues?q=label%3Alibrary%2Fredmine
https://github.com/docker-library/official-images/blob/master/library/redmine (https://github.com/docker-library/official-images/commits/master/library/redmine) -
Source of this description:
https://github.com/docker-library/docs/tree/master/redmine (https://github.com/docker-library/docs/commits/master/redmine)
What is Redmine?
Redmine is a free and open source, web-based project management and issue tracking tool. It allows users to manage multiple projects and associated subprojects. It features per project wikis and forums, time tracking, and flexible role based access control. It includes a calendar and Gantt charts to aid visual representation of projects and their deadlines. Redmine integrates with various version control systems and includes a repository browser and diff viewer.
***.org/wiki/Redmine
How to use this image
Run Redmine with SQLite3
This is the simplest setup; just run redmine.
console$ docker run -d --name some-redmine ppc64le/redmine
not for multi-user production use (http://www.redmine.org/projects/redmine/wiki/RedmineInstall#Supported-database-back-ends)
Run Redmine with a Database Container
Running Redmine with a database server is the recommended way.
-
start a database container
-
PostgreSQL
console$ docker run -d --name some-postgres --network some-network -e POSTGRES_PASSWORD=secret -e POSTGRES_USER=redmine postgres -
MySQL (replace
-e REDMINE_DB_POSTGRES=some-postgreswith-e REDMINE_DB_MYSQL=some-mysqlwhen running Redmine)console$ docker run -d --name some-mysql --network some-network -e MYSQL_USER=redmine -e MYSQL_PASSWORD=secret -e MYSQL_DATABASE=redmine -e MYSQL_RANDOM_ROOT_PASSWORD=1 mysql:5.7
-
-
start redmine
console$ docker run -d --name some-redmine --network some-network -e REDMINE_DB_POSTGRES=some-postgres -e REDMINE_DB_USERNAME=redmine -e REDMINE_DB_PASSWORD=secret ppc64le/redmine
... via https://github.com/docker/compose
Example compose.yaml for redmine:
yamlservices: redmine: image: redmine restart: always ports: - 8080:3000 environment: REDMINE_DB_MYSQL: db REDMINE_DB_PASSWORD: example REDMINE_SECRET_KEY_BASE: supersecretkey db: image: mysql:8.0 restart: always environment: MYSQL_ROOT_PASSWORD: example MYSQL_DATABASE: redmine
Run docker compose up, wait for it to initialize completely, and visit http://localhost:8080 or http://host-ip:8080 (as appropriate).
Accessing the Application
Currently, the default user and password from upstream is admin/admin (https://www.redmine.org/projects/redmine/wiki/RedmineInstall#Step-10-Logging-into-the-application).
Where to Store Data
Important note: There are several ways to store data used by applications that run in Docker containers. We encourage users of the redmine images to familiarize themselves with the options available, including:
- Let Docker manage the storage of your files https://docs.docker.com/storage/volumes/. This is the default and is easy and fairly transparent to the user. The downside is that the files may be hard to locate for tools and applications that run directly on the host system, i.e. outside containers.
- Create a data directory on the host system (outside the container) and https://docs.docker.com/storage/bind-mounts/. This places the database files in a known location on the host system, and makes it easy for tools and applications on the host system to access the files. The downside is that the user needs to make sure that the directory exists, and that e.g. directory permissions and other security mechanisms on the host system are set up correctly.
The Docker documentation is a good starting point for understanding the different storage options and variations, and there are multiple blogs and forum postings that discuss and give advice in this area. We will simply show the basic procedure here for the latter option above:
-
Create a data directory on a suitable volume on your host system, e.g.
/my/own/datadir. -
Start your
redminecontainer like this:console$ docker run -d --name some-redmine -v /my/own/datadir:/usr/src/redmine/files --link some-postgres:postgres ppc64le/redmine
The -v /my/own/datadir:/usr/src/redmine/files part of the command mounts the /my/own/datadir directory from the underlying host system as /usr/src/redmine/files inside the container, where Redmine will store uploaded files.
Port Mapping
If you'd like to be able to access the instance from the host without the container's IP, standard port mappings can be used. Just add -p 3000:3000 to the docker run arguments and then access either http://localhost:3000 or http://host-ip:3000 in a browser.
Environment Variables
When you start the redmine image, you can adjust the configuration of the instance by passing one or more environment variables on the docker run command line.
REDMINE_DB_MYSQL, REDMINE_DB_POSTGRES, or REDMINE_DB_SQLSERVER
These variables allow you to set the hostname or IP address of the MySQL, PostgreSQL, or Microsoft SQL host, respectively. These values are mutually exclusive so it is undefined behavior if any two are set. If no variable is set, the image will fall back to using SQLite.
REDMINE_DB_PORT
This variable allows you to specify a custom database connection port. If unspecified, it will default to the regular connection ports: 3306 for MySQL, 5432 for PostgreSQL, and empty string for SQLite.
REDMINE_DB_USERNAME
This variable sets the user that Redmine and any rake tasks use to connect to the specified database. If unspecified, it will default to root for MySQL, postgres for PostgreSQL, or redmine for SQLite.
REDMINE_DB_PASSWORD
This variable sets the password that the specified user will use in connecting to the database. There is no default value.
REDMINE_DB_DATABASE
This variable sets the database that Redmine will use in the specified database server. If not specified, it will default to redmine for MySQL, the value of REDMINE_DB_USERNAME for PostgreSQL, or sqlite/redmine.db for SQLite.
REDMINE_DB_ENCODING
This variable sets the character encoding to use when connecting to the database server. If unspecified, it will use the default for the mysql2 library (https://github.com/brianmario/mysql2/tree/***e8d8663a56213a980212e1092c2220faa92#mysql2---a-modern-simple-and-very-fast-mysql-library-for-ruby---binding-to-libmysql) for MySQL, utf8 for PostgreSQL, or utf8 for SQLite.
REDMINE_NO_DB_MIGRATE
This variable allows you to control if rake db:migrate is run on container start. Just set the variable to a non-empty string like 1 or true and the migrate script will not automatically run on container start.
db:migrate will also not run if you start your image with something other than the default CMD, like bash. See the current docker-entrypoint.sh in your image for details.
REDMINE_PLUGINS_MIGRATE
This variable allows you to control if rake redmine:plugins:migrate is run on container start. Just set the variable to a non-empty string like 1 or true and the migrate script will be automatically run on every container start. It will be run after db:migrate.
redmine:plugins:migrate will not run if you start your image with something other than the default CMD, like bash. See the current docker-entrypoint.sh in your image for details.
SECRET_KEY_BASE
This is a general Rails environment variable. This variable is useful when using loadbalanced replicas to maintain session connections. It is "used by Rails to encode cookies storing session data thus preventing their tampering. Generating a new secret token invalidates all existing sessions after restart" (https://www.redmine.org/projects/redmine/wiki/RedmineInstall#Step-5-Session-store-secret-generation). If you do not set this variable, then the secret_key_base value will be generated using rake generate_secret_token.
For backwards compatibility, the deprecated, Docker-specific REDMINE_SECRET_KEY_BASE variable will automatically fill the SECRET_KEY_BASE environment variable. Users should migrate their deployments to use the SECRET_KEY_BASE variable directly.
Running as an arbitrary user
You can use the https://docs.docker.com/engine/reference/run/#user flag to docker run and give it a username:group or UID:GID, the user doesn't need to exist in the container.
Docker Secrets
As an alternative to passing sensitive information via environment variables, _FILE may be appended to the previously listed environment variables, causing the initialization script to load the values for those variables from files present in the container. In particular, this can be used to load passwords from Docker secrets stored in /run/secrets/<secret_name> files. For example:
console$ docker run -d --name some-redmine -e REDMINE_DB_MYSQL_FILE=/run/secrets/mysql-host -e REDMINE_DB_PASSWORD_FILE=/run/secrets/mysql-root ppc64le/redmine:tag
Currently, this is only supported for REDMINE_DB_MYSQL, REDMINE_DB_POSTGRES, REDMINE_DB_PORT, REDMINE_DB_USERNAME, REDMINE_DB_PASSWORD, REDMINE_DB_DATABASE, REDMINE_DB_ENCODING, and REDMINE_SECRET_KEY_BASE.
Image Variants
The ppc64le/redmine images come in many flavors, each designed for a specific use case.
ppc64le/redmine:<version>
This is the defacto image. If you are unsure about what your needs are, you probably want to use this one. It is designed to be used both as a throw away container (mount your source code and start the container to start your app), as well as the base to build other images off of.
Some of these tags may have names like bookworm or trixie in them. These are the suite code names for releases of https://wiki.debian.org/DebianReleases and indicate which release the image is based on. If your image needs to install any additional packages beyond what comes with the image, you'll likely want to specify one of these explicitly to minimize breakage when there are new releases of Debian.
ppc64le/redmine:<version>-alpine
This image is based on the popular [***] available in https://hub.docker.com/_/alpine. Alpine Linux is much smaller than most distribution base images (~5MB), and thus leads to much slimmer images in general.
This variant is useful when final image size being as small as possible is your primary concern. The main caveat to note is that it does use https://musl.libc.org instead of https://www.etalabs.net/compare_libcs.html, so software will often run into issues depending on the depth of their libc requirements/assumptions. See this Hacker News comment thread for more discussion of the issues that might arise and some pro/con comparisons of using Alpine-based images.
To minimize image size, it's uncommon for additional related tools (such as git or bash) to be included in Alpine-based images. Using this image as a base, add the things you need in your own Dockerfile (see the https://hub.docker.com/_/alpine/ for examples of how to install packages if you are unfamiliar).
License
https://www.redmine.org/projects/redmine/wiki is open source and released under the terms of the https://www.gnu.org/licenses/old-licenses/gpl-2.0.html (GPL).
As with all Docker images, these likely also contain other software which may be under other licenses (such as Bash, etc from the base distribution, along with any direct or indirect dependencies of the primary software being contained).
Some additional license information which was able to be auto-detected might be found in https://github.com/docker-library/repo-info/tree/master/repos/redmine.
As for any pre-built image usage, it is the image user's responsibility to ensure that any use of this image complies with any relevant licenses for all software contained within.
ppc64le 命名空间的其他可用镜像:
更多相关 Docker 镜像与资源
以下是 ppc64le/redmine 相关的常用 Docker 镜像,适用于 不同场景 等不同场景:
镜像拉取方式
您可以使用以下命令拉取该镜像。请将 <标签> 替换为具体的标签版本。如需查看所有可用标签版本,请访问 标签列表页面。
DockerHub 原生拉取命令
用户好评
来自真实用户的反馈,见证轩辕镜像的优质服务