stop and remove an autostart docker container

  containers, docker, synology

I have several containers I want to remove. When I stop them, they restart, so I can’t remove them. I tried to update them with the command sudo docker update --restart=no [docker name] but they are still restarting.

Here is the output of my docker ps :

    ~$ sudo docker ps
CONTAINER ID        IMAGE                                            COMMAND                  CREATED              STATUS                PORTS                  NAMES
8482a3ba7a1c        homeassistant/amd64-hassio-dns:2021.01.0         "/init"                  About a minute ago   Up About a minute                            hassio_dns
bf6edaa5add5        homeassistant/amd64-hassio-multicast:2021.04.0   "/init"                  8 minutes ago        Up 8 minutes                                 hassio_multicast
f53752b4920f        homeassistant/amd64-hassio-audio:2021.02.1       "/init"                  8 minutes ago        Up 8 minutes                                 hassio_audio
2b5ed16c305d        homeassistant/amd64-hassio-cli:2021.03.1         "/init /bin/bash -c …"   9 minutes ago        Up 9 minutes                                 hassio_cli
27fdf9452c85        homeassistant/amd64-hassio-observer:2020.10.1    "/init"                  9 minutes ago        Up 9 minutes>80/tcp   hassio_observer
612417c38db1        homeassistant/amd64-hassio-supervisor            "/init"                  6 days ago           Up 16 minutes                                hassio_supervisor

They run on a Synology NAS

Source: Docker Questions