Docker openedx使开发设置失败

Docker openedx使开发设置失败,docker,provisioning,devstack,openedx,Docker,Provisioning,Devstack,Openedx,我试图在本地机器上部署基于docker的devstack。我遵循了这里的官方安装指南:。在我不得不运行make dev.provision 当我运行配置命令时,我遇到以下失败的任务 TASK [server_utils : Install ubuntu system packages] *************************** failed: [localhost] (item=[u'ack-grep', u'mosh', u'tree', u'screen', u'tmu

我试图在本地机器上部署基于docker的devstack。我遵循了这里的官方安装指南:。在我不得不运行
make dev.provision

当我运行配置命令时,我遇到以下失败的任务

TASK [server_utils : Install ubuntu system packages] ***************************
    failed: [localhost] (item=[u'ack-grep', u'mosh', u'tree', u'screen', u'tmux', u'curl', u'vim', u'dnsutils', u'inetutils-telnet', u'netcat']) => {"failed": true, "item": ["ack-grep", "mosh", "tree", "screen", "tmux", "curl", "vim", "dnsutils", "inetutils-telnet", "netcat"], "msg": "Failed to update apt cache."}
    to retry, use: --l/admin/theming/sitetheme/imit @/edx/app/edx_ansible/edx_ansible/playbooks/edxapp.retry

PLAY RECAP *********************************************************************
localhost                  : ok=2    changed=1    unreachable=0    failed=1   
我通过bash使用
docker exec-it mycontainer bash
访问了lms容器,并手动运行了
apt update
,因为provisioner在尝试“安装ubuntu系统包”时遇到错误,随后“未能更新apt缓存”apt update命令输出如下:

# apt update
Hit:1 http://security.ubuntu.com/ubuntu xenial-security InRelease
Hit:2 http://archive.ubuntu.com/ubuntu xenial InRelease                        
Hit:3 http://ppa.launchpad.net/git-core/ppa/ubuntu xenial InRelease            
Hit:4 http://archive.ubuntu.com/ubuntu xenial-updates InRelease                
Hit:5 http://archive.ubuntu.com/ubuntu xenial-backports InRelease              
Ign:6 http://nginx.org/packages/ubuntu xenial InRelease                        
Hit:7 http://ppa.edx.org xenial InRelease                                      
Err:8 http://nginx.org/packages/ubuntu xenial Release                   
  Connection failed [IP: 206.251.255.63 80]
Reading package lists... Done                
E: The repository 'http://nginx.org/packages/ubuntu xenial Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.

我需要做什么来修复此错误?先谢谢你

在运行
make dev.provision
时,我在Fedora中也遇到了类似的错误。这是因为我的docker版本是旧版本(当我运行
docker版本时,我得到了1.13.1),openedx需要docker CE,这是docker的新版本


为了解决这个问题,我卸载了我的docker版本,并按照说明安装了docker CE,命令运行良好。

尝试注释掉
#http://nginx.org/packages/ubuntu xenial Release
in/etc/apt/sources.list文件或/etc/apt/sources.list.d文件夹中的一些文件。这些更新不是必需的吗?它是nginx,所以我认为不是参与这个docker。我的docker版本是最新的(docker CE 18.06,api版本1.38)