# Containers starts automatically with docker launch

**URL:** https://community.kinsta.com/t/containers-starts-automatically-with-docker-launch/1673
**Category:** Application Support
**Created:** [August 21, 2022, 6:42am UTC](https://community.kinsta.com/t/containers-starts-automatically-with-docker-launch/1673 "2022-08-21T06:42:45Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![Kevin](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/kevin/32/808_2.png) [@Kevin](https://community.kinsta.com/u/Kevin)
#### Post date: [August 22, 2022, 4:28pm UTC](https://community.kinsta.com/t/containers-starts-automatically-with-docker-launch/1673/2 "2022-08-22T16:28:52Z")

</div>

Hi @thehungrybird, thanks for reaching out. You can change the Docker settings for starting containers by running this command in your terminal:

`docker update --restart=no devkinsta_nginx devkinsta_db devkinsta_adminer devkinsta_mailhog devkinsta_fpm`

> [@Can we stop DevKinsta from starting containers on host startup?](https://community.kinsta.com/t/can-we-stop-devkinsta-from-starting-containers-on-host-startup/1550/2):
>
> Hi @Ethan91, thanks for reaching out. You will have to do this through Docker by changing the restart policy. You can do so with this command: docker update --restart=no devkinsta\_nginx devkinsta\_db devkinsta\_adminer devkinsta\_mailhog devkinsta\_fpm The DevKinsta containers should now only start after you start DevKinsta. Please let us know if that doesn’t work!

Please let us know if that doesn’t work for you!

---

_[View the full topic](https://community.kinsta.com/t/containers-starts-automatically-with-docker-launch/1673)._
