Answers: <p>Try the following as root:</p>
  <ul>
  <li><p>Edit the /etc/default/grub file and set the GRUB_CMDLINE_LINUX value as follows:</p>
  <p><code>GRUB_CMDLINE_LINUX=&quot;cgroup_enable=memory swapaccount=1&quot;</code></p>
  </li>
  <li><p>Update GRUB.</p>
  <p><code>sudo update-grub</code></p>
  </li>
  <li><p>Reboot your system.</p>
  </li>
  </ul>
  <p>As per <a href="https://docs.docker.com/install/linux/linux-postinstall/#your-kernel-does-not-support-cgroup-swap-limit-capabilities" rel="nofollow noreferrer">this docker's documentation</a>.</p>
  
Answers: CC BY-SA 4.0
Answers: 2018-05-22T12:53:12.803Z
Answers: I don't think this apply to the question, the problem seems more widespread than just swap limitation.
Answers: Tensibai
Answers: CC BY-SA 4.0
Answers: 2018-05-22T13:18:14.693Z
Answers: Indeed I think he has an outdated kernel version, an `update-grub` would solve the issue but without activating swap capabilities a warning would still appear in the logs
Answers: storm
Answers: CC BY-SA 4.0
Answers: 2018-04-16T09:13:42.747Z
Answers: 2018-05-22T12:47:44.057Z
Answers: 2020-06-18T08:28:10.803Z
Answers: storm
Body: <p>After instalating Docker from repo I can't run it.
  Problem is with daemon:</p>
  
  <pre><code>dockerd
  INFO[2018-04-16T09:35:46.054942906+02:00] libcontainerd: started new docker-containerd process  pid=21656
  INFO[0000] starting containerd                           module=containerd revision=773c489c9c1b21a6d78b5c538cd395416ec50f88 version=v1.0.3
  INFO[0000] loading plugin "io.containerd.content.v1.content"...  module=containerd type=io.containerd.content.v1
  INFO[0000] loading plugin "io.containerd.snapshotter.v1.btrfs"...  module=containerd type=io.containerd.snapshotter.v1
  WARN[0000] failed to load plugin io.containerd.snapshotter.v1.btrfs  error="path /var/lib/docker/containerd/daemon/io.containerd.snapshotter.v1.btrfs must be a btrfs filesystem to be used with the btrfs snapshotter" module=containerd
  INFO[0000] loading plugin "io.containerd.snapshotter.v1.overlayfs"...  module=containerd type=io.containerd.snapshotter.v1
  INFO[0000] loading plugin "io.containerd.metadata.v1.bolt"...  module=containerd type=io.containerd.metadata.v1
  WARN[0000] could not use snapshotter btrfs in metadata plugin  error="path /var/lib/docker/containerd/daemon/io.containerd.snapshotter.v1.btrfs must be a btrfs filesystem to be used with the btrfs snapshotter" module="containerd/io.containerd.metadata.v1.bolt"
  INFO[0000] loading plugin "io.containerd.differ.v1.walking"...  module=containerd type=io.containerd.differ.v1
  INFO[0000] loading plugin "io.containerd.gc.v1.scheduler"...  module=containerd type=io.containerd.gc.v1
  INFO[0000] loading plugin "io.containerd.grpc.v1.containers"...  module=containerd type=io.containerd.grpc.v1
  INFO[0000] loading plugin "io.containerd.grpc.v1.content"...  module=containerd type=io.containerd.grpc.v1
  INFO[0000] loading plugin "io.containerd.grpc.v1.diff"...  module=containerd type=io.containerd.grpc.v1
  INFO[0000] loading plugin "io.containerd.grpc.v1.events"...  module=containerd type=io.containerd.grpc.v1
  INFO[0000] loading plugin "io.containerd.grpc.v1.healthcheck"...  module=containerd type=io.containerd.grpc.v1
  INFO[0000] loading plugin "io.containerd.grpc.v1.images"...  module=containerd type=io.containerd.grpc.v1
  INFO[0000] loading plugin "io.containerd.grpc.v1.leases"...  module=containerd type=io.containerd.grpc.v1
  INFO[0000] loading plugin "io.containerd.grpc.v1.namespaces"...  module=containerd type=io.containerd.grpc.v1
  INFO[0000] loading plugin "io.containerd.grpc.v1.snapshots"...  module=containerd type=io.containerd.grpc.v1
  INFO[0000] loading plugin "io.containerd.monitor.v1.cgroups"...  module=containerd type=io.containerd.monitor.v1
  INFO[0000] loading plugin "io.containerd.runtime.v1.linux"...  module=containerd type=io.containerd.runtime.v1
  INFO[0000] loading plugin "io.containerd.grpc.v1.tasks"...  module=containerd type=io.containerd.grpc.v1
  INFO[0000] loading plugin "io.containerd.grpc.v1.version"...  module=containerd type=io.containerd.grpc.v1
  INFO[0000] loading plugin "io.containerd.grpc.v1.introspection"...  module=containerd type=io.containerd.grpc.v1
  INFO[0000] serving...                                    address="/var/run/docker/containerd/docker-containerd-debug.sock" module="containerd/debug"
  INFO[0000] serving...                                    address="/var/run/docker/containerd/docker-containerd.sock" module="containerd/grpc"
  INFO[0000] containerd successfully booted in 0.007348s   module=containerd
  ERRO[2018-04-16T09:35:46.318603395+02:00] 'overlay' not found as a supported filesystem on this host. Please ensure kernel is new enough and has overlay support loaded.
  ERRO[2018-04-16T09:35:46.321272231+02:00] 'overlay' not found as a supported filesystem on this host. Please ensure kernel is new enough and has overlay support loaded.
  INFO[2018-04-16T09:35:46.334031676+02:00] Graph migration to content-addressability took 0.00 seconds
  WARN[2018-04-16T09:35:46.337419439+02:00] Your kernel does not support swap memory limit
  WARN[2018-04-16T09:35:46.337438494+02:00] Your kernel does not support memory reservation
  WARN[2018-04-16T09:35:46.337452567+02:00] Your kernel does not support oom control
  WARN[2018-04-16T09:35:46.337465274+02:00] Your kernel does not support memory swappiness
  WARN[2018-04-16T09:35:46.337479319+02:00] Your kernel does not support kernel memory limit
  WARN[2018-04-16T09:35:46.337488145+02:00] Unable to find cpu cgroup in mounts
  WARN[2018-04-16T09:35:46.337501250+02:00] Your kernel does not support cgroup blkio weight
  WARN[2018-04-16T09:35:46.337515483+02:00] Your kernel does not support cgroup blkio weight_device
  WARN[2018-04-16T09:35:46.337528836+02:00] Your kernel does not support cgroup blkio throttle.read_bps_device
  WARN[2018-04-16T09:35:46.337542675+02:00] Your kernel does not support cgroup blkio throttle.write_bps_device
  WARN[2018-04-16T09:35:46.337556361+02:00] Your kernel does not support cgroup blkio throttle.read_iops_device
  WARN[2018-04-16T09:35:46.337571999+02:00] Your kernel does not support cgroup blkio throttle.write_iops_device
  WARN[2018-04-16T09:35:46.337589881+02:00] Unable to find cpuset cgroup in mounts
  WARN[2018-04-16T09:35:46.337656042+02:00] mountpoint for pids not found
  Error starting daemon: Devices cgroup isn't mounted
  </code></pre>
  
  <p>I installed cgroup manualy:</p>
  
  <pre><code>apt-get install cgroupfs-mount
  </code></pre>
  
  <p>But still this same issue.
  Is really a kernel from 2016 year too old?</p>
  
  <p>uname -a retruns:</p>
  
  <blockquote>
    <p>Linux xxx 3.16.0-042stab127.2 #1 SMP Thu Jan 4 16:41:44 MSK 2018
    x86_64 GNU/Linux</p>
  </blockquote>
  
Comments: CC BY-SA 3.0
Comments: 2018-04-16T08:56:48.720Z
Comments: Are you running as root? Or have you assigned your user to the a Docker group?
Comments: dburke1
Comments: CC BY-SA 3.0
Comments: 2018-04-17T19:47:42.663Z
Comments: Did you try to fix the error messages? First and foremost, "overlay not found as supported filesystem".
Comments: AnoE
Comments: CC BY-SA 3.0
Comments: 2018-04-22T01:33:22.717Z
Comments: I think your kernel is too old
Comments: Software Engineer
Comments: CC BY-SA 4.0
Comments: 2018-05-22T12:54:22.860Z
Comments: The real error is: "ERRO[2018-04-16T09:35:46.318603395+02:00] 'overlay' not found as a supported filesystem on this host. Please ensure kernel is new enough and has overlay support loaded.", I think your kernel is too old for overlay and only support aufs, so either downgrade docker or (better IMHO) upgrade your system.
Comments: Tensibai
Comments: CC BY-SA 4.0
Comments: 2018-05-22T20:37:04.533Z
Comments: What version of docker are you running, and what repo did you install it from? What distro are you running for your host? What options have you configured for the daemon, including settings in /etc/docker/daemon.json and flags passed in the startup scripts?
Comments: BMitch
Tags: <docker>
Title: Why can I not run docker daemon?
UserDisplayName: John Smith
ThreadText: # Why can I not run docker daemon?
  
  (Asked by: username_0 on 2018-04-16)
  
  After instalating Docker from repo I can't run it.
  Problem is with daemon:
  
  ```
  dockerd
  INFO[2018-04-16T09:35:46.054942906+02:00] libcontainerd: started new docker-containerd process  pid=21656
  INFO[0000] starting containerd                           module=containerd revision=773c489c9c1b21a6d78b5c538cd395416ec50f88 version=v1.0.3
  INFO[0000] loading plugin "io.containerd.content.v1.content"...  module=containerd type=io.containerd.content.v1
  INFO[0000] loading plugin "io.containerd.snapshotter.v1.btrfs"...  module=containerd type=io.containerd.snapshotter.v1
  WARN[0000] failed to load plugin io.containerd.snapshotter.v1.btrfs  error="path /var/lib/docker/containerd/daemon/io.containerd.snapshotter.v1.btrfs must be a btrfs filesystem to be used with the btrfs snapshotter" module=containerd
  INFO[0000] loading plugin "io.containerd.snapshotter.v1.overlayfs"...  module=containerd type=io.containerd.snapshotter.v1
  INFO[0000] loading plugin "io.containerd.metadata.v1.bolt"...  module=containerd type=io.containerd.metadata.v1
  WARN[0000] could not use snapshotter btrfs in metadata plugin  error="path /var/lib/docker/containerd/daemon/io.containerd.snapshotter.v1.btrfs must be a btrfs filesystem to be used with the btrfs snapshotter" module="containerd/io.containerd.metadata.v1.bolt"
  INFO[0000] loading plugin "io.containerd.differ.v1.walking"...  module=containerd type=io.containerd.differ.v1
  INFO[0000] loading plugin "io.containerd.gc.v1.scheduler"...  module=containerd type=io.containerd.gc.v1
  INFO[0000] loading plugin "io.containerd.grpc.v1.containers"...  module=containerd type=io.containerd.grpc.v1
  INFO[0000] loading plugin "io.containerd.grpc.v1.content"...  module=containerd type=io.containerd.grpc.v1
  INFO[0000] loading plugin "io.containerd.grpc.v1.diff"...  module=containerd type=io.containerd.grpc.v1
  INFO[0000] loading plugin "io.containerd.grpc.v1.events"...  module=containerd type=io.containerd.grpc.v1
  INFO[0000] loading plugin "io.containerd.grpc.v1.healthcheck"...  module=containerd type=io.containerd.grpc.v1
  INFO[0000] loading plugin "io.containerd.grpc.v1.images"...  module=containerd type=io.containerd.grpc.v1
  INFO[0000] loading plugin "io.containerd.grpc.v1.leases"...  module=containerd type=io.containerd.grpc.v1
  INFO[0000] loading plugin "io.containerd.grpc.v1.namespaces"...  module=containerd type=io.containerd.grpc.v1
  INFO[0000] loading plugin "io.containerd.grpc.v1.snapshots"...  module=containerd type=io.containerd.grpc.v1
  INFO[0000] loading plugin "io.containerd.monitor.v1.cgroups"...  module=containerd type=io.containerd.monitor.v1
  INFO[0000] loading plugin "io.containerd.runtime.v1.linux"...  module=containerd type=io.containerd.runtime.v1
  INFO[0000] loading plugin "io.containerd.grpc.v1.tasks"...  module=containerd type=io.containerd.grpc.v1
  INFO[0000] loading plugin "io.containerd.grpc.v1.version"...  module=containerd type=io.containerd.grpc.v1
  INFO[0000] loading plugin "io.containerd.grpc.v1.introspection"...  module=containerd type=io.containerd.grpc.v1
  INFO[0000] serving...                                    address="/var/run/docker/containerd/docker-containerd-debug.sock" module="containerd/debug"
  INFO[0000] serving...                                    address="/var/run/docker/containerd/docker-containerd.sock" module="containerd/grpc"
  INFO[0000] containerd successfully booted in 0.007348s   module=containerd
  ERRO[2018-04-16T09:35:46.318603395+02:00] 'overlay' not found as a supported filesystem on this host. Please ensure kernel is new enough and has overlay support loaded.
  ERRO[2018-04-16T09:35:46.321272231+02:00] 'overlay' not found as a supported filesystem on this host. Please ensure kernel is new enough and has overlay support loaded.
  INFO[2018-04-16T09:35:46.334031676+02:00] Graph migration to content-addressability took 0.00 seconds
  WARN[2018-04-16T09:35:46.337419439+02:00] Your kernel does not support swap memory limit
  WARN[2018-04-16T09:35:46.337438494+02:00] Your kernel does not support memory reservation
  WARN[2018-04-16T09:35:46.337452567+02:00] Your kernel does not support oom control
  WARN[2018-04-16T09:35:46.337465274+02:00] Your kernel does not support memory swappiness
  WARN[2018-04-16T09:35:46.337479319+02:00] Your kernel does not support kernel memory limit
  WARN[2018-04-16T09:35:46.337488145+02:00] Unable to find cpu cgroup in mounts
  WARN[2018-04-16T09:35:46.337501250+02:00] Your kernel does not support cgroup blkio weight
  WARN[2018-04-16T09:35:46.337515483+02:00] Your kernel does not support cgroup blkio weight_device
  WARN[2018-04-16T09:35:46.337528836+02:00] Your kernel does not support cgroup blkio throttle.read_bps_device
  WARN[2018-04-16T09:35:46.337542675+02:00] Your kernel does not support cgroup blkio throttle.write_bps_device
  WARN[2018-04-16T09:35:46.337556361+02:00] Your kernel does not support cgroup blkio throttle.read_iops_device
  WARN[2018-04-16T09:35:46.337571999+02:00] Your kernel does not support cgroup blkio throttle.write_iops_device
  WARN[2018-04-16T09:35:46.337589881+02:00] Unable to find cpuset cgroup in mounts
  WARN[2018-04-16T09:35:46.337656042+02:00] mountpoint for pids not found
  Error starting daemon: Devices cgroup isn't mounted
  
  ```
  
  I installed cgroup manualy:
  
  ```
  apt-get install cgroupfs-mount
  
  ```
  
  But still this same issue.
  Is really a kernel from 2016 year too old?
  
  uname -a retruns:
  
  > Linux xxx 3.16.0-042stab127.2 #1 SMP Thu Jan 4 16:41:44 MSK 2018
  > x86\_64 GNU/Linux
  
  **Tags:** docker
  
  > **Comments:**
  > **username_1**: Are you running as root? Or have you assigned your user to the a Docker group?  
  > **username_2**: Did you try to fix the error messages? First and foremost, "overlay not found as supported filesystem".  
  > **username_3**: I think your kernel is too old  
  > **username_4**: The real error is: "ERRO[2018-04-16T09:35:46.318603395+02:00] 'overlay' not found as a supported filesystem on this host. Please ensure kernel is new enough and has overlay support loaded.", I think your kernel is too old for overlay and only support aufs, so either downgrade docker or (better IMHO) upgrade your system.  
  > **username_5**: What version of docker are you running, and what repo did you install it from? What distro are you running for your host? What options have you configured for the daemon, including settings in /etc/docker/daemon.json and flags passed in the startup scripts?  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_6 on 2018-04-16. Score: 1
  
  Try the following as root:
  
  * Edit the /etc/default/grub file and set the GRUB\_CMDLINE\_LINUX value as follows:
  
    `GRUB_CMDLINE_LINUX="cgroup_enable=memory swapaccount=1"`
  * Update GRUB.
  
    `sudo update-grub`
  * Reboot your system.
  
  As per [this docker's documentation](https://docs.docker.com/install/linux/linux-postinstall/#your-kernel-does-not-support-cgroup-swap-limit-capabilities).
  
  > **Comments:**
  > **username_4**: I don't think this apply to the question, the problem seems more widespread than just swap limitation.  
  > **username_6**: Indeed I think he has an outdated kernel version, an `update-grub` would solve the issue but without activating swap capabilities a warning would still appear in the logs  
  
  ---
  
  