WOGONG blog wiki read

docker

install

links

note

Commands

# list images
docker images

# run bash in the container
# t means tag
docker run -ti wogong/run:test /bin/bash

# Building an image from a Dockerfile
docker image build -t name:version path
docker image build -t koa-demo:0.0.1 .

docker build --no-cache

# docker compose
cd dir/
docker-compose up -d
docker-compose ps
docker-compose stop
docker-compose logs

常见部署项目

  1. shadowsocks-libev

  2. RSSHub

https://docs.rsshub.app/install/#%E4%BD%BF%E7%94%A8-docker-%E9%83%A8%E7%BD%B2

docker pull diygod/rsshub
docker run -d --name rsshub -p 1200:1200 diygod/rsshub
docker stop rsshub


Published 2015-08-05 04:34:28 +0800
Updated 2018-05-30 17:34:01 +0000
Link: