4337 links
  • Arnaud's links
  • Home
  • Login
  • RSS Feed
  • ATOM Feed
  • Tag cloud
  • Picture wall
  • Daily
Links per page: 20 50 100
page 1 / 1
  • Using systemd to control the Docker daemon - Docker, Inc.

    The nice thing about the command above is that it shows a unified view of all options and takes into consideration any overrides that may have been applied.
    To change the value of an option, ExecStart in this case, do the following:

    [ec2-user@ip-10-0-46-113 ~]$ sudo systemctl edit docker

    This will create the necessary directory structure under /etc/systemd/system/docker.service.dand open an editor (using the default editor configured for the user) to the override file. Add the section below into the editor:

    [Service]
    ExecStart=
    ExecStart=/usr/bin/docker daemon -H tcp://0.0.0.0:2375 -H unix:///var/run/docker.sock

    It was necessary to clear out ExecStart using ExecStart= before setting it to the override value. This is only required for some options and most options in the configuration file would not need to be cleared like this

    October 10, 2017 at 11:21:10 AM GMT+2 - permalink - archive.org - https://success.docker.com/KBase/Using_systemd_to_control_the_Docker_daemon
    docker systemd
Links per page: 20 50 100
page 1 / 1
Shaarli - The personal, minimalist, super-fast, database free, bookmarking service by the Shaarli community - Help/documentation