Arch Linux - scenarios to start service due to 'scenarios to determine user credentials' when using systemd with Docker
I've been struggling with this for a few days now and could really use some help. I'm running Arch Linux with Docker installed, and I'm trying to set up a systemd service to automatically start a Docker container on boot. The service file looks like this: ```ini [Unit] Description=Docker Container Service After=docker.service [Service] Restart=always ExecStart=/usr/bin/docker start my_container_name ExecStop=/usr/bin/docker stop my_container_name User=docker_user Group=docker_group [Install] WantedBy=multi-user.target ``` However, when I attempt to start the service using `systemctl start my_service_name`, I receive the following behavior: ``` Failed to start my_service_name.service: Failed to determine user credentials: No such process ``` I've double-checked that `docker_user` is a valid user and belongs to the `docker_group`. I can manually start the Docker container without any issues using the command line. I also made sure to reload the systemd configuration with `systemctl daemon-reload` after creating the service file. Despite this, I still need to get the service to start. I've also looked into the logs with `journalctl -u my_service_name` and noticed multiple entries related to user credentials not being found, which doesnβt make sense since the user exists. Iβve tried running the service with `User=root` as a test, but encountered the same scenario. Does anyone have experience with this type of question? Any suggestions on how to troubleshoot further or resolve the scenario? I'm working on a CLI tool that needs to handle this. My team is using Bash for this REST API. What are your experiences with this?