命令“ docker-compose up”导致“找不到命令:未指定安装点”错误

问题描述

我正在尝试修改我在网上找到的Expressvpn容器。我克隆了存储库以从中创建自己的修改图像。我整天都在尝试尝试在不修改现有代码的情况下创建新图像。

要做的就是将docker-compose.yml文件添加到Github页面上指定的目录中:

---
version: "2.1"
services:
    expressvpn_test:
        build: 
            context: .
            dockerfile: Dockerfile
        container_name: expressvpn_test
        environment:
          - ACTIVATION_CODE={% your-activation-code %}
        cap_add:
          - NET_ADMIN
        devices: 
          - /dev/net/tun
        stdin_open: true
        tty: true
        command: /bin/bash
        privileged: true
        restart: unless-stopped
        ports:
            - 80:80 # example

在存储库目录中运行命令“ docker-compose up”时,出现以下错误

/tmp/entrypoint.sh: line 2: $'\r': command not found
: no mount point specified.
cp: cannot stat '/tmp/resolv.conf': No such file or directory
/etc/init.d/expressvpn: line 207: log_action_msg: command not found
": no such file or directoryressvpnActivate.sh
Cannot connect to expressvpnd daemon.
It seems that the expressvpn daemon is not running. Please run "sudo service expressvpn restart" to 
start it.
If the problem persists,please contact us.
: No such file or directory /bin/bash

如果我拉原始图像并运行它,就没有问题。我是Docker的新手,似乎无法弄清楚该如何解决

我希望有人可以帮助我解决这个问题。

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)