2016-10-25 3 views
1
Start

Sobald ich Andockfenster starten Sie es und sagtDocker verlässt mit einem Exit-Code auf

Job for docker.service failed because the control process exited with error code. See "systemctl status docker.service" and "journalctl -xe" for details. 

nicht anspringt, wenn ich versuche, diese den Befehl systemctl status docker.service es gibt mir zu laufen:

Job for docker.service failed because the control process exited with error code. See "systemctl status docker.service" and "journalctl -xe" for details. 
    [email protected]:~/Documents/Huawei/pulsar/docker-files/pulsarReporting/memcached$ systemctl status docker.service 
    ● docker.service - Docker Application Container Engine 
     Loaded: loaded (/lib/systemd/system/docker.service; enabled; vendor preset: enabled) 
     Active: failed (Result: exit-code) since Tue 2016-10-25 11:10:12 IST; 13s ago 
     Docs: https://docs.docker.com 
     Process: 20514 ExecStart=/usr/bin/docker daemon -H fd:// $DOCKER_OPTS (code=exited, status=1/FAILURE) 
    Main PID: 20514 (code=exited, status=1/FAILURE) 

    Oct 25 11:10:11 localhost systemd[1]: Starting Docker Application Container Engine... 
    Oct 25 11:10:11 localhost docker[20514]: time="2016-10-25T11:10:11.789509056+05:30" level=info msg="[graphdriver] using prior storage driver \"aufs\"" 
    Oct 25 11:10:11 localhost docker[20514]: time="2016-10-25T11:10:11.914441951+05:30" level=info msg="Graph migration to content-addressability took 0.00 seconds" 
    Oct 25 11:10:11 localhost docker[20514]: time="2016-10-25T11:10:11.918206945+05:30" level=info msg="Firewalld running: false" 
    Oct 25 11:10:12 localhost docker[20514]: time="2016-10-25T11:10:12.697748195+05:30" level=fatal msg="Error starting daemon: Error initializing network controller: could not delete the default bridge network: network bridge has acti 
    Oct 25 11:10:12 localhost systemd[1]: docker.service: Main process exited, code=exited, status=1/FAILURE 
    Oct 25 11:10:12 localhost systemd[1]: Failed to start Docker Application Container Engine. 
    Oct 25 11:10:12 localhost systemd[1]: docker.service: Unit entered failed state. 
    Oct 25 11:10:12 localhost systemd[1]: docker.service: Failed with result 'exit-code'. 

Ich weiß nicht, was das Problem hier ist. Ich benutze Docker auf Ubuntu 16.04 und ich bin ziemlich neu in diesem Bereich. Ich habe versucht mit dem Neustart des Systems, aber es hilft nicht.

Jede hep wird geschätzt!

Antwort

1

Dieser Fehler von daemon/daemon_unix.go

// Clear stale bridge network 
    if n, err := controller.NetworkByName("bridge"); err == nil { 
     if err = n.Delete(); err != nil { 
      return nil, fmt.Errorf("could not delete the default bridge network: %v", err) 
     } 
} 

In Ihrem Fall kommt die voll Fehlermeldung lautet:

Error starting daemon: 
Error initializing network controller: 
could not delete the default bridge network: network bridge has active endpoints 

Siehe zum Beispiel issue 18283, mit einer möglichen Problemumgehung in issue 17083

sudo rm -r /var/lib/docker/network 

Angeblich löst PR 21261 eine Reihe von Fällen, die das Problem des aktiven Endpunkts während eines unpräzisen Herunterfahrens des Dämons beheben.
Es ist nur mit Docker 1.12.2 verfügbar, also überprüfen Sie Ihre aktuelle Docker-Version.

+0

Danke das hat wie ein Zauber funktioniert! –

Verwandte Themen