---
# System prepended metadata

title: Docker controls

---

# Docker controls

Fist of all you need the container id:

```bash=
docker container ls
```

You will see something like this: The selected string is the container id

![](https://i.imgur.com/BsuhN0Y.png)

---

Start:
```bash=
docker start <CONTAINER ID>
```

Restart:
```bash=
docker restart <CONTAINER ID>
```

Stop:
```bash=
docker stop <CONTAINER ID>
```