Skip to content

Latest commit

 

History

History
49 lines (30 loc) · 1.08 KB

README.md

File metadata and controls

49 lines (30 loc) · 1.08 KB

YunoHost Docker image

This repository contains tools to build and run a YunoHost container using Docker.

With this image, you can use YunoHost like a true instance on physical server with more flexibility for system management (quick install, easier upgrade, multiple instances on the same server, can tag/backup/restore state with docker tools ...).

Pre-requirements

The linux docker host must run systemd.

First Install

Build the image

docker build -t <your image tag>:build .

Run the image

docker-compose up -d

Post install Yunohost (create the main user, first domain, ...)

This can be done either in the browser at 127.0.0.1 or in the CLI by entering the running container

docker compose exec yunohost bash

and typing

yunohost tools postinstall

Then follow the steps like any other yunohost install.

Commit

To save you the post-install steps next time, you can save the container state in a new image with

docker commit yunohost yunohost:postinstalled

and replacing the image name in docker-compose.yml