itgoyo / 500Days-Of-Github

⭐ 瞎JB折腾Mac/Linux/Windows过程中遇到的所有问题和解决方式 ⭐
https://itgoyo.github.io/500Days-Of-Github
138 stars 13 forks source link

自建属于自己的biliup镜像 #302

Open itgoyo opened 1 year ago

itgoyo commented 1 year ago
1  cd /biliup/
  702  ls
  703  git clone 
  704  git clone https://github.com/biliup/biliup.git
  732  cd biliup/
  733  sudo docker build . -t biliup
  734  ls
  735  docker images
  738  ls
  739  sudo docker run -P -d biliup
  740  ls
  741  cd biliup/
  742  ls
  743  cd ..
  744  ls
  745  pwd
  746  ls
  747  vim config.toml
  748  ls
  749  docker images
  750  ls
  751  pwd
  752  docker run -P --name biliup -v /biliup/youtube:/opt -d biliup:latest
  753  ls
  754  cd ..
  755  mkdir youtube
  756  ls
  757  cd youtube/
  758  vim config.toml
  759  ls
  760  cat ds_update.log 
  761  ls
itgoyo commented 1 year ago
模仿写法
docker run -P --name biliup -v /host/path:/opt -d ghcr.io/biliup/caution:master

/host/path为配置文件的地址
docker run -P --name biliup -v /host/path:/opt -d itgoyo/ytbtool:latest