Launched Redmine with Docker on Raspberry Pi 3

Introduction

I used to launch Redmine on Docker on Mac, but it didn't work if I did the same.

-Build Redmine on Docker container on Mac

So, I will keep a record until it is launched. Installation of Docker on Raspberry Pi 3 has already been done below.

-I installed Docker on Raspberry Pi 3

Failure

Failed, docker-compose.yml

This is docker-compose.yml that I used for Mac last time.

docker-compose.yml


version: '3.8'
services:
  redmine:
    container_name: redmine
    image: redmine
    restart: always
    ports:
      - 3000:3000
    volumes:
      - ./Redmine/plugins:/usr/src/redmine/plugins
      - ./Redmine/themes:/usr/src/redmine/public/themes
    environment:
      REDMINE_DB_MYSQL: redmine-db
      REDMINE_DB_PASSWORD: redmine
  redmine-db:
    image: mariadb
    container_name: redmine-db
    restart: always
    environment:
      MYSQL_ROOT_PASSWORD: redmine
      MYSQL_DATABASE: redmine
    volumes:
      - ./db:/var/lib/mysql
    command: mysqld --character-set-server=utf8 --collation-server=utf8_unicode_ci

What kind of error occurred

I will omit it on the way. At mariadb, "** no matching manifest for linux/arm/v7 in the manifest list entries **" occurred.

$ docker-compose up -d
Pulling redmine-db (mariadb:)...
latest: Pulling from library/mariadb
ERROR: no matching manifest for linux/arm/v7 in the manifest list entries

Articles examined

It seems that neither mariadb nor mysql works on Debian (OS of Raspberry Pi).

solution

I decided to use the following image in Docker Hub.

success

docker-compose.yml

Click here for the final docker-compose.yml. I just changed the image.

docker-compose.yml


version: '3.8'
services:
  redmine:
    container_name: redmine
    image: redmine
    restart: always
    ports:
      - 3000:3000
    volumes:
      - ./Redmine/plugins:/usr/src/redmine/plugins
      - ./Redmine/themes:/usr/src/redmine/public/themes
    environment:
      REDMINE_DB_MYSQL: redmine-db
      REDMINE_DB_PASSWORD: redmine
  redmine-db:
    image: hypriot/rpi-mysql
    container_name: redmine-db
    restart: always
    environment:
      MYSQL_ROOT_PASSWORD: redmine
      MYSQL_DATABASE: redmine
    volumes:
      - ./db:/var/lib/mysql
    command: mysqld --character-set-server=utf8 --collation-server=utf8_unicode_ci

docker-compose up

Check the image.

$ docker images
REPOSITORY          TAG       IMAGE ID       CREATED       SIZE
redmine             latest    f2b5b69f9ad5   4 weeks ago   440MB
hypriot/rpi-mysql   latest    4f3cbdbc3bdb   2 years ago   209MB

Let's start it up.

$ docker-compose up -d
Creating redmine    ... done
Creating redmine-db ... done

Redmine should be running on Docker of Raspberry Pi 3, so try accessing it from Mac. Check the IP address with `` `ifconfig``` in advance, and access * http: //000.000.000.000: 3000 * with a browser.

20210109_IMG_1627.jpg

I was able to access it safely.

Summary

It's simple to describe, but it took a surprising amount of time to confirm the replacement with another image. Docker has various images and is very helpful.

Recommended Posts

Launched Redmine with Docker on Raspberry Pi 3
Install Docker on Raspberry Pi
Redmine on Docker
I installed Docker on my Raspberry Pi 3
Install Docker on Raspberry Pi 4 and Raspberry Pi OS 64bit
Radiko recording server on Raspberry Pi 4 (Docker unused)
I couldn't install docker with raspberry pi2 b +.
Send emails using Docker container on Raspberry Pi 3
Put Ubuntu 20.04.1 on Raspberry Pi 4
How to run javafx with Raspberry Pi Posted on 2020/07/12
Display characters on I2C 1602 LCD with Raspberry Pi 3 & Java
Minecraft server on Raspberry Pi 4
The key to running Docker on Raspberry Pi 4 (Ubuntu server 20.04)
Put Redmine docker container in Raspberry Pi 4 Model B 2GB
Time is wrong with the application launched on the Docker container
Install MariaDB on Raspberry Pi OS
Try using Redmine on Mac docker
Try putting CentOS 8 on Raspberry Pi 3
Note: setting javaMail on Raspberry Pi
WordPress with Docker Compose on CentOS 8
Display user-defined characters on the I2C 1602 LCD with Raspberry Pi 3 & Java
Raspberry Pi Kubernetes and Docker downgraded story
Put Kanban in Docker of Raspberry Pi 3
Headless install of Ubuntu 20.10 on Raspberry Pi
Raspberry Pi Zero with Ubuntu-style Yocto-gcc with libusb
[Now] Let's Redmine with Docker Compose with Let's Encrypt
Scraping with puppeteer in Nuxt on Docker.
Find Raspberry Pi from Android with mDNS
Communicate Gitlab and Gitlab Runner launched with Docker
Build Redmine code reading environment on Docker
Install CentOS 7 on Raspberry pi 4 Model B
Build an environment with Docker on AWS
Run Ubuntu + ROS with Docker on Mac
Serially connect to Ubuntu on Raspberry Pi
Try running MPLS-VPN with FR Routing on Docker
Liberty on Docker
Install Ubuntu Core 18 on Raspberry Pi 2 Model B
Introducing Rspec with Ruby on Rails x Docker
Environment construction command memo with Docker on AWS
Try running OSPF with FR Routing on Docker
Run JSP Hello World with Tomcat on Docker
Notes on building Rails6 / PostgreSQL with Docker Compose
Update container image with KUSANAGI Runs on Docker
Play down with Raspberry PI4 as a server. Part 2
Easily build Redmine on Windows using WSL2 and Docker
Error encountered with notes when deploying docker on rails
Build an Android image for Orange Pi 4 with Docker
Docker installation on CentOS 6
python notes on docker
Launch MariaDB with Docker
Rails deploy with Docker
Run Pico with docker
Install Docker on Manjaro
Use Puphpeteer with Docker
Try WildFly with Docker
Use ngrok with Docker
Run Payara with Docker
[Docker] Connection with MySQL
Php settings with Docker
Getting Started with Docker
M.S. docker on Windows