Skip to content

Do not "Bind" docker "To" containerd. #678

@Random-Liu

Description

@Random-Liu
  • This is a bug report
  • This is a feature request
  • I searched existing issues before opening this one

Expected behavior

After containerd is temporarily killed and restarted, docker should continue working.

Actual behavior

Once containerd is killed, docker will be stopped by systemd. And systemd won't restart docker anymore, "when the death of the process is a result of systemd operation (e.g. service stop or restart)" (See systemd/systemd#2824)

Steps to reproduce the behavior

sudo pkill -x containerd
sudo systemctl status docker # docker won't be running any more.

Output of docker version:

Client:
 Version:           18.09.3
 API version:       1.39
 Go version:        go1.10.4
 Git commit:        774a1f4
 Built:             Mon Mar 25 20:45:29 2019
 OS/Arch:           linux/amd64
 Experimental:      false

Server:
 Engine:
  Version:          18.09.3
  API version:      1.39 (minimum version 1.12)
  Go version:       go1.10.4
  Git commit:       774a1f4
  Built:            Mon Mar 25 20:21:49 2019
  OS/Arch:          linux/amd64
  Experimental:     false

Output of docker info:

C Log: awslogs fluentd gcplogs gelf journald json-file local logentries splunk syslog
Swarm: inactive
Runtimes: runc
Default Runtime: runc
Init Binary: docker-init
containerd version: 
runc version: N/A
init version: v0.18.0 (expected: fec3683b971d9c3ef73f284f176672c44b448662)
Security Options:
 apparmor
 seccomp
  Profile: default
Kernel Version: 4.15.0-1028-gcp
Operating System: Ubuntu 18.04.2 LTS
OSType: linux
Architecture: x86_64
CPUs: 1
Total Memory: 3.606GiB
Name: ubuntu-gke-1804-d1809-0-v20190326
ID: JLVJ:TCIH:WF2Z:PJ5O:UMXX:HVNI:R4EW:N4X2:LCOP:72MR:HABB:XTKY
Docker Root Dir: /var/lib/docker
Debug Mode (client): false
Debug Mode (server): false
Registry: https://index.docker.io/v1/
Labels:
Experimental: false
Insecure Registries:
 127.0.0.0/8
Live Restore Enabled: true

WARNING: No swap limit support

Additional environment details (AWS, VirtualBox, physical, etc.)
GCE

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions