Skip to content
Centrally manage various development documents through docker.
Dockerfile
Branch: master
Clone or download

README.md

Development Documentation.

Centralized management of various development documents. Docker Repository.

Quick Start

docker pull wcjiang/docs:latest
docker run --name docs \
  -p 60001:60001 \
  -p 60003:60003 \
  -p 60004:60004 \
  -p 60005:60005 \
  -p 60006:60006 \
  -p 60007:60007 \
  -p 60008:60008 \
  -p 60009:60009 \
  -p 60010:60010 \
  -p 60011:60011 \
  -p 60031:60031 \
  -p 60034:60034 \
  --restart=always \
  -d wcjiang/docs:latest

Port List

Add Document

# Add submodule
$ git submodule add --force '仓库地址' '路径' -b '分支'
# Upgrade submodule
$ git submodule foreach --recursive git submodule update

Build Image

$ docker image build -t wcjiang/docs .
# or
$ docker image build -t wcjiang/docs:1.1.0 .
docker run --rm \
  -p 60001:60001 \
  -p 60003:60003 \
  -p 60004:60004 \
  -p 60005:60005 \
  -p 60006:60006 \
  -p 60007:60007 \
  -p 60008:60008 \
  -p 60009:60009 \
  -p 60010:60010 \
  -p 60011:60011 \
  -p 60031:60031 \
  -p 60034:60034 \
  --name docs wcjiang/docs:1.1.0

Other

View the directory size and order by command, See if you need to reduce the size.

du -sk * | sort -n

Links

You can’t perform that action at this time.