我正在尝试设置一个LXC容器,该容器将运行我的牧场主设置。 我有一个装有docker的LXC容器。
此LXC容器在proxmox上运行。 它已经在运行rancher-server了,但是当我尝试设置代理(主机)时,出现了这个错误
docker: Error response from daemon: OCI runtime create failed: container_linux.go:345: starting container process caused "process_linux.go:424: container init caused \"rootfs_linux.go:70: creating device nodes caused \\\"open /var/lib/docker/vfs/dir/348cf5420568368f46d42e747d8c35cf4403ba1bc8f1ad2638e954d9af90e769/dev/tty: no such device or address\\\"\"": unknown.
命令:
docker run -e CATTLE_AGENT_IP="192.168.1.21" --rm --privileged -v /var/run/docker.sock:/var/run/docker.sock -v /var/lib/rancher:/var/lib/rancher rancher/agent:v1.2.11 http://192.168.1.21:8080/v1/scripts/C8BE27F2F73841CB70F1:1546214400000:VRpwM1tcaFNZR7vX0OkphfMSNgw
有人对此有经验吗?