Changes between Version 2 and Version 3 of Docker HowTo Auto Start Containers On Reboot
- Timestamp:
- 10/06/16 14:50:41 (8 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Docker HowTo Auto Start Containers On Reboot
v2 v3 19 19 This will list out all the services that are enabled. 20 20 21 3a. To create a new service called *docker-[containername].service*:21 3a. To create a new service called '''docker-[containername].service''' : 22 22 23 {{{sudo vi /etc/systemd/system/docker- redcap_5.7.0.service}}}23 {{{sudo vi /etc/systemd/system/docker-[containername].service}}} 24 24 25 add the contents :25 add the contents similar to the following but change '''Description''', '''ExecStart''', '''ExecStop''': 26 26 27 27 {{{[Unit]}}}