服务器安装docker以及docker的常用命令

  • 1、安装docker
    • curl -fsSL https://get.docker.com | bash -s docker --mirror Aliyun
    • 安装完可能会出现一些问题:
      • 安装docker之后,测试hello-world镜像,终端卡在Unable to find image 'hello-world:latest' locally位置,在/etc/docker/daemon.json中
      • { "registry-mirrors": ["https://alzgoonw.mirror.aliyuncs.com"] }
    • 启动:sudo systemctl start docker
  •  2、使用docker安装sekiro
    • sekiro官网:https://github.com/virjar/sekiro/blob/master/open-source-doc/README.md
    • 安装出现的问题:
  • 3、docker将python程序打包
    • https://blog.csdn.net/xu_cxiang/article/details/107222072
posted @ 2021-04-16 23:28  是四不是十  阅读(270)  评论(0编辑  收藏  举报