Docker Markdown



Cd path/to/project. No need to install. Use these free online markdown editors to write and save your markdown notes. Some editors also offer real-time collaboration. 嗨客网(haicoder.net)提供各种有关编程技术的教程及使用案列,包括:Python、Vue、Json、Mysql、Linux、Redis、Docker、Markdown、Golang、设计模式 和 Postman 等。.

Home > Docker for Markdown | Japanese

Markdown-to-HTML Conversion Web Site in Docker Container

Kobu.Com created a Docker container of a web site that dynamically converts Markdown to HTML. The Dockerfile and the source code are published thorugh github. Ready-built docker images are on Docker hub.

Kobu.Com is willing to help you build authoring and publishing environment based on Markdown and Apache. It can also help you wrap a web site or web app in a Docker container. Please contact us.

Introduction

Docker is a container style execution environment that packages all the necessary files to run an application. A container can accomodate an entire web site or web service. Therefore you don't have to do setup work such as Apache configuration.

There exists a service to host a Docker container alone such as Amazon AWS and Googe GCP.

Filter for Local, Handler for Remote

DockerDocker Markdown

I tested two methods for Markdown rendering on Apache:

  • Apache mod_external_filter-compiant filter for serving local Markdown files in a docker container or host,
  • Apache mod_actions-compliant handler for serving remote Markdown files instead of local files.

The filter version is simple and suitable if you can freely manage the host machine where you run the docker container.

The handler version may be required if the web resources including Markdown source resides in another place than the docker host. This also applies a case you want to place your Markdown source files on a public cloud service such as Amazon or Google or other file storage services.

GitHub/DockerHub

You can get files for building a Docker container from GitHub.

Docker Markdown Editor

If you are interested, take the github project and build and run the image as described in README.md in the project.

You can get a pre-built Docker image from the Docker Hub.

Docker Markdown To Pdf

  • docker-hub local & remote

Related Links

Other Links in This Site

Written 2020-Sep-14 filter version
Updated 2020-Sep-21 handler version