Strato.de에서 임대중인 가상 서버에 docker-ce를 설치하려고합니다. 그래도 설치 프로세스의 끝은 실패합니다. 로컬로 실행하거나 로컬로 실행되는 가상 머신에서 완벽하게 작동하는 설치 스크립트를 만들었습니다.
설정 스크립트 :
#!/bin/bash
sudo apt-get update
sudo apt-get install -y \
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 -y \
"deb [arch=amd64] https://download.docker.com/linux/ubuntu \
$(lsb_release -cs) \
stable"
sudo apt-get update
sudo apt-get install -y docker-ce
Strato.de (Ubuntu 16.04)의 가상 서버 오류 :
docker-ce (17.12.0~ce-0~ubuntu) wird eingerichtet ...
Job for docker.service failed because the control process exited with error code. See "systemctl status docker.service" and "journalctl -xe" for details.
invoke-rc.d: initscript docker, action "start" failed.
● docker.service - Docker Application Container Engine
Loaded: loaded (/lib/systemd/system/docker.service; enabled; vendor preset: enabled)
Active: activating (auto-restart) (Result: exit-code) since Mi 2018-01-03 05:58:08 CET; 15ms ago
Docs: https://docs.docker.com
Process: 30871 ExecStart=/usr/bin/dockerd -H fd:// (code=exited, status=1/FAILURE)
Main PID: 30871 (code=exited, status=1/FAILURE)
Memory: 38.1M
CGroup: /system.slice/docker.service
dpkg: Fehler beim Bearbeiten des Paketes docker-ce (--configure):
Unterprozess installiertes post-installation-Skript gab den Fehlerwert 1 zurück
liberror-perl (0.17-1.2) wird eingerichtet ...
git-man (1:2.7.4-0ubuntu1.3) wird eingerichtet ...
git (1:2.7.4-0ubuntu1.3) wird eingerichtet ...
patch (2.7.5-1) wird eingerichtet ...
Trigger für libc-bin (2.23-0ubuntu9) werden verarbeitet ...
Trigger für systemd (229-4ubuntu21) werden verarbeitet ...
Fehler traten auf beim Bearbeiten von:
docker-ce
E: Sub-process /usr/bin/dpkg returned an error code (1)
같은 경험을 가진 사람이 있습니까? 어떤 해결책이 있습니까?
그동안 문제를 발견했습니다. Docker는 Strato.de의 가상 서버에서 많이 사용하는 Virtuozzo와 같은 가상화를 좋아하지 않습니다. 가상화에 Virtuozzo를 사용하지 않는 공급자로 변경하는 것 외에는이 문제에 대한 해결 방법이 없습니다.
이 기사는 인터넷에서 수집됩니다. 재 인쇄 할 때 출처를 알려주십시오.
침해가 발생한 경우 연락 주시기 바랍니다[email protected] 삭제
몇 마디 만하겠습니다