How to set-up automatica start of container?

hello,
i am new in the topic … and installed ubuntu server 22 and inside docker with vaultwarden, the issue is that i restarted server and docker shows container is not running

docker ps -a
CONTAINER ID   IMAGE                       COMMAND                  CREATED      STATUS                    PORTS                                             NAMES
ec06e990d05c   vaultwarden/server:latest   "/usr/bin/dumb-init …"   6 days ago   Exited (255) 3 days ago   3012/tcp, 0.0.0.0:8050->80/tcp, :::8050->80/tcp   vaultwarden

so i executed

docker start vaultwarden
and it shows now

docker ps -a
CONTAINER ID   IMAGE                       COMMAND                  CREATED      STATUS                        PORTS                                             NAMES
ec06e990d05c   vaultwarden/server:latest   "/usr/bin/dumb-init …"   6 days ago   Up About a minute (healthy)   3012/tcp, 0.0.0.0:8050->80/tcp, :::8050->80/tcp   vaultwarden

does it mean that each time i restart the server i have to “start” docker container for vaultwarden?

thanks!

Can you try this?

docker update --restart unless-stopped container_id