Changes between Version 2 and Version 3 of Docker HowTo Auto Start Containers On Reboot


Ignore:
Timestamp:
10/06/16 14:50:41 (8 years ago)
Author:
saj.issa
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Docker HowTo Auto Start Containers On Reboot

    v2 v3  
    1919This will list out all the services that are enabled.
    2020
    21 3a. To create a new service called *docker-[containername].service* :
     213a. To create a new service called '''docker-[containername].service''' :
    2222
    23    {{{sudo vi /etc/systemd/system/docker-redcap_5.7.0.service}}}
     23   {{{sudo vi /etc/systemd/system/docker-[containername].service}}}
    2424
    25 add the contents :
     25add the contents similar to the following but change '''Description''', '''ExecStart''', '''ExecStop''':
    2626
    2727   {{{[Unit]}}}