Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

7
  • 2
    FWIW, the service file was at /lib/systemd/system/docker.service in my Debian testing. Commented Mar 31, 2016 at 13:45
  • 3
    FWIW, saying systemctl set-property docker.service TasksMax=4096 will set the property for a currently running service and persist the setting for subsequent reboots in the correct place for the docker installation in question. Commented Apr 8, 2016 at 12:04
  • This is a common approach. But note that the Docker change that you proposed was reverted after you posted this answer, on 2016-02-09, this reversion being then released to the world in Docker version 1.10.1. Commented May 12, 2016 at 5:49
  • man thanks thanks thanks ! i have been looking for tooooo long for this Commented Aug 31, 2017 at 12:24
  • If you make the change to the config file (mine was in /etc/systemd/system/docker.service.d/50-TasksMax.conf on Ubuntu 16), you need to run systemctl daemon-reload. Doing a sudo service docker restart will NOT work. Commented Oct 18, 2017 at 21:02