AskOverflow.Dev

AskOverflow.Dev Logo AskOverflow.Dev Logo

AskOverflow.Dev Navigation

  • 主页
  • 系统&网络
  • Ubuntu
  • Unix
  • DBA
  • Computer
  • Coding
  • LangChain

Mobile menu

Close
  • 主页
  • 系统&网络
    • 最新
    • 热门
    • 标签
  • Ubuntu
    • 最新
    • 热门
    • 标签
  • Unix
    • 最新
    • 标签
  • DBA
    • 最新
    • 标签
  • Computer
    • 最新
    • 标签
  • Coding
    • 最新
    • 标签
主页 / ubuntu / 问题 / 1132210
Accepted
fury
fury
Asked: 2019-04-09 08:48:56 +0800 CST2019-04-09 08:48:56 +0800 CST 2019-04-09 08:48:56 +0800 CST

为什么在 Docker 中会出现此错误?

  • 772

我正在尝试为我的硕士论文安装这个程序; https://github.com/gioargyr/docker-kr-suite但我不明白如何运行它。我已经克隆了它,然后按照自述文件所述在终端中运行此命令;“[sudo] docker build -t docker-image-name 。” 然后发生了这些错误。https://imgur.com/VO9OyTT

你知道如何正确安装和运行这个程序吗?

谢谢你的帮助。

docker
  • 2 2 个回答
  • 299 Views

2 个回答

  • Voted
  1. Best Answer
    An0n
    2019-04-09T08:59:00+08:002019-04-09T08:59:00+08:00

    像这样 :

    sudo apt update
    sudo apt install apt-transport-https ca-certificates curl software-properties-common
    curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
    sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu bionic stable"
    sudo apt update
    apt-cache policy docker-ce
    sudo apt install docker-ce
    

    检查状态:

    sudo systemctl status docker
    

    可选:将 $USER 添加到 docker 组(确保在之后注销并重新登录)

    sudo groupadd docker
    sudo usermod -aG docker $USER
    sudo systemctl restart docker
    
    • 0
  2. fury
    2019-04-09T09:31:46+08:002019-04-09T09:31:46+08:00
        # This file controls: which hosts are allowed to connect, how clients
    # host       DATABASE  USER  ADDRESS  METHOD  [OPTIONS]
    # hostssl    DATABASE  USER  ADDRESS  METHOD  [OPTIONS]
    # hostnossl  DATABASE  USER  ADDRESS  METHOD  [OPTIONS]
    # socket, "host" is either a plain or SSL-encrypted TCP/IP socket,
    # "hostssl" is an SSL-encrypted TCP/IP socket, and "hostnossl" is a
    # ADDRESS specifies the set of hosts the record matches.  It can be a
    # host name, or it is made up of an IP address and a CIDR mask that is
    # specifies the number of significant bits in the mask.  A host name
    # that starts with a dot (.) matches a suffix of the actual host name.
    # columns to specify the set of hosts.  Instead of a CIDR-address, you
    # can write "samehost" to match any of the server's own IP addresses,
    # "host" records.  In that case you will also need to make PostgreSQL
    host    all             all             127.0.0.1/32            md5
    host    all             all             ::1/128                 md5
    # Allow replication connections from localhost, by a user with the
    #host    replication     postgres        127.0.0.1/32            md5
    #host    replication     postgres        ::1/128                 md5
    host     all     all     0.0.0.0/0   md5
    #listen_addresses = 'localhost'     # what IP address(es) to listen on;
    listen_addresses='*'
    2019-04-08 17:22:57.038 UTC [13] LOG:  database system was shut down at 2019-04-08 17:08:00 UTC
    2019-04-08 17:22:57.296 UTC [13] LOG:  MultiXact member wraparound protections are now enabled
    2019-04-08 17:22:57.299 UTC [17] LOG:  autovacuum launcher started
    2019-04-08 17:22:57.299 UTC [12] LOG:  database system is ready to accept connections
    

    解决问题后;我运行“docker run”并采用这些线路。我该如何使用它,因为一旦我运行像“ls”这样的命令,什么都没有发生。

    • 0

相关问题

  • 您是否需要具有虚拟化功能的处理器才能在 Snappy Ubuntu Core 上运行 Docker?

  • 码头工人的问题

  • 如何在没有 sudo 的情况下使用 docker?

  • 如何升级 Docker

Sidebar

Stats

  • 问题 205573
  • 回答 270741
  • 最佳答案 135370
  • 用户 68524
  • 热门
  • 回答
  • Marko Smith

    如何运行 .sh 脚本?

    • 16 个回答
  • Marko Smith

    如何安装 .tar.gz(或 .tar.bz2)文件?

    • 14 个回答
  • Marko Smith

    如何列出所有已安装的软件包

    • 24 个回答
  • Marko Smith

    无法锁定管理目录 (/var/lib/dpkg/) 是另一个进程在使用它吗?

    • 25 个回答
  • Martin Hope
    Flimm 如何在没有 sudo 的情况下使用 docker? 2014-06-07 00:17:43 +0800 CST
  • Martin Hope
    Ivan 如何列出所有已安装的软件包 2010-12-17 18:08:49 +0800 CST
  • Martin Hope
    La Ode Adam Saputra 无法锁定管理目录 (/var/lib/dpkg/) 是另一个进程在使用它吗? 2010-11-30 18:12:48 +0800 CST
  • Martin Hope
    David Barry 如何从命令行确定目录(文件夹)的总大小? 2010-08-06 10:20:23 +0800 CST
  • Martin Hope
    jfoucher “以下软件包已被保留:”为什么以及如何解决? 2010-08-01 13:59:22 +0800 CST
  • Martin Hope
    David Ashford 如何删除 PPA? 2010-07-30 01:09:42 +0800 CST

热门标签

10.10 10.04 gnome networking server command-line package-management software-recommendation sound xorg

Explore

  • 主页
  • 问题
    • 最新
    • 热门
  • 标签
  • 帮助

Footer

AskOverflow.Dev

关于我们

  • 关于我们
  • 联系我们

Legal Stuff

  • Privacy Policy

Language

  • Pt
  • Server
  • Unix

© 2023 AskOverflow.DEV All Rights Reserve