错误:/usr/bin/docker-current: Error response from daemon: invalid header field value "oci runtime error: container_linux.go:247: starting container process caused "process_linux.go:364: container init caused \"rootfs_linux.go:54: mounting \\\"/etc/vpnpptp/ppp/chap-secrets\\\" to rootfs \\\"/var/lib/docker/devicemapper/mnt/99de4cd80c60a558adcd66fd27c197559600e8232e57148d7b93bae1833d3d73/rootfs\\\" at \\\"/var/lib/docker/devicemapper/mnt/99de4cd80c60a558adcd66fd27c197559600e8232e57148d7b93bae1833d3d73/rootfs/etc/ppp/chap-secrets\\\" caused \\\"not a directory\\\"\""\n".
执行的命令 docker run -d --privileged -p 1723:1723 -v $PWD/vpnpptp/ppp/chap-secrets:/etc/ppp/chap-secrets mobtitude/vpn-pptp
1
kaneg 2017-12-17 11:05:11 +08:00 1
$PWD/vpnpptp/ppp/chap-secrets,这是个文件,不是目录, 你要自己先创建出来。
|