Docker Community Forums

Share and learn in the Docker community.

[SWARM] Container paused without reason

Hi everyone,

I need some help about my cluster swarm.
Since I have upgraded my cluster from three to five manager, I have some tasks of my services that get paused by swarm. I don’t know why and didn’t see anything on the logs.
I need to do a docker unpause to get it fix …
It happens on the same tasks of services every 20 minutes on different stack. All others services work well.

Here my docker version:

 $ docker version
  Client: Docker Engine - Community
   Version:           19.03.12
   API version:       1.40
   Go version:        go1.13.10
   Git commit:        48a66213fe
   Built:             Mon Jun 22 15:45:36 2020
   OS/Arch:           linux/amd64
   Experimental:      false
  Server: Docker Engine - Community
    Version:          19.03.12
    API version:      1.40 (minimum version 1.12)
    Go version:       go1.13.10
    Git commit:       48a66213fe
    Built:            Mon Jun 22 15:44:07 2020
    OS/Arch:          linux/amd64
    Experimental:     true
    Version:          1.2.13
    GitCommit:        7ad184331fa3e55e52b890ea95e65ba581ae3429
    Version:          1.0.0-rc10
    GitCommit:        dc9208a3303feef5b3839f4323d9beb36df0a9dd
    Version:          0.18.0
    GitCommit:        fec3683

And here my docker info

$ docker info
 Debug Mode: false

 Containers: 25
  Running: 13
  Paused: 0
  Stopped: 12
 Images: 117
 Server Version: 19.03.12
 Storage Driver: overlay2
  Backing Filesystem: extfs
  Supports d_type: true
  Native Overlay Diff: true
 Logging Driver: json-file
 Cgroup Driver: cgroupfs
  Volume: local
  Network: bridge host ipvlan macvlan null overlay
  Log: awslogs fluentd gcplogs gelf journald json-file local logentries splunk syslog
 Swarm: active
  NodeID: *****
  Is Manager: true
  ClusterID: *****
  Managers: 5
  Nodes: 5
  Default Address Pool: ******  
  SubnetSize: 24
  Data Path Port: 4789
   Task History Retention Limit: 5
   Snapshot Interval: 10000
   Number of Old Snapshots to Retain: 0
   Heartbeat Tick: 1
   Election Tick: 10
   Heartbeat Period: 5 seconds
  CA Configuration:
   Expiry Duration: 3 months
   Force Rotate: 0
  Autolock Managers: false
  Root Rotation In Progress: false
  Node Address: *****
  Manager Addresses:
 Runtimes: runc
 Default Runtime: runc
 Init Binary: docker-init
 containerd version: 7ad184331fa3e55e52b890ea95e65ba581ae3429
 runc version: dc9208a3303feef5b3839f4323d9beb36df0a9dd
 init version: fec3683
 Security Options:
   Profile: default
 Kernel Version: 4.15.0-109-generic
 Operating System: Ubuntu 18.04.4 LTS
 OSType: linux
 Architecture: x86_64
 CPUs: 4
 Total Memory: 14.33GiB
 Name: ***
 ID: ****
 Docker Root Dir: /var/lib/docker
 Debug Mode: false
 Experimental: true
 Live Restore Enabled: false

If you need more information, feel free to ask.

Thanks for your help

Best regards