# ''sudo systemctl start docker '' doesn't work

**URL:** <https://forums.docker.com/t/sudo-systemctl-start-docker-doesnt-work/135395>\
**Category:** Docker Hub\
**Tags:** docker, beta\
**Created:** [April 2, 2023, 1:15am UTC](https://forums.docker.com/t/sudo-systemctl-start-docker-doesnt-work/135395 "2023-04-02T01:15:00Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![dariusgarland](https://avatars.discourse-cdn.com/v4/letter/d/e47774/32.png) [@dariusgarland](https://forums.docker.com/u/dariusgarland)\
**Post date:** [April 2, 2023, 1:15am UTC](https://forums.docker.com/t/sudo-systemctl-start-docker-doesnt-work/135395/1 "2023-04-02T01:15:01Z")

</div>

# [Job for docker.service failed because the control process exited with error code. See “systemctl status docker.service” and “journalctl -xe” for](https://stackoverflow.com/questions/75909077/job-for-docker-service-failed-because-the-control-process-exited-with-error-code)

I am new to docker and cannot understand these errors. So, Please let me know if any more information is needed. `

```auto
[root@localhost docker]# systemctl start docker
Job for docker.service failed because the control process exited with error code. See "systemctl status docker.service" and "journalctl -xe" for details.

```

**systemctl status docker.service` output:**

```auto
● docker.service - Docker Application Container Engine
   Loaded: loaded (/etc/systemd/system/docker.service; disabled; vendor preset: disabled)
   Active: failed (Result: start-limit) since Sun 2023-04-02 01:34:47 CEST; 5min ago
     Docs: https://docs.docker.com
  Process: 9060 ExecStart=/usr/bin/dockerd --registry-mirror=<your accelerate address> -H fd:// --containerd=/run/containerd/containerd.sock (code=exited, status=1/FAILURE)
 Main PID: 9060 (code=exited, status=1/FAILURE)

Apr 02 01:34:44 localhost.localdomain systemd[1]: Failed to start Docker Application Container Engine.
Apr 02 01:34:44 localhost.localdomain systemd[1]: Unit docker.service entered failed state.
Apr 02 01:34:44 localhost.localdomain systemd[1]: docker.service failed.
Apr 02 01:34:47 localhost.localdomain systemd[1]: docker.service holdoff time over, scheduling restart.
Apr 02 01:34:47 localhost.localdomain systemd[1]: Stopped Docker Application Container Engine.
Apr 02 01:34:47 localhost.localdomain systemd[1]: start request repeated too quickly for docker.service
Apr 02 01:34:47 localhost.localdomain systemd[1]: Failed to start Docker Application Container Engine.
Apr 02 01:34:47 localhost.localdomain systemd[1]: Unit docker.service entered failed state.
Apr 02 01:34:47 localhost.localdomain systemd[1]: docker.service failed.

```

**`journalctl -xe`output**

```auto
Apr 02 01:34:42 localhost.localdomain systemd[1]: docker.service: main process exited, code=exited, status=1/FAILURE
Apr 02 01:34:42 localhost.localdomain systemd[1]: Failed to start Docker Application Container Engine.
-- Subject: Unit docker.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit docker.service has failed.
-- 
-- The result is failed.
Apr 02 01:34:42 localhost.localdomain systemd[1]: Unit docker.service entered failed state.
Apr 02 01:34:42 localhost.localdomain systemd[1]: docker.service failed.
Apr 02 01:34:44 localhost.localdomain systemd[1]: docker.service holdoff time over, scheduling restart.
Apr 02 01:34:44 localhost.localdomain systemd[1]: Stopped Docker Application Container Engine.
-- Subject: Unit docker.service has finished shutting down
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit docker.service has finished shutting down.
Apr 02 01:34:44 localhost.localdomain systemd[1]: Starting Docker Application Container Engine...
-- Subject: Unit docker.service has begun start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit docker.service has begun starting up.
Apr 02 01:34:44 localhost.localdomain dockerd[9060]: Status: invalid argument "<your" for "--registry-mirror" flag: invalid mirror: unsupported scheme "" in "%3Cyour"
Apr 02 01:34:44 localhost.localdomain dockerd[9060]: See 'dockerd --help'., Code: 125
Apr 02 01:34:44 localhost.localdomain systemd[1]: docker.service: main process exited, code=exited, status=1/FAILURE
Apr 02 01:34:44 localhost.localdomain systemd[1]: Failed to start Docker Application Container Engine.
-- Subject: Unit docker.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit docker.service has failed.
-- 
-- The result is failed.
Apr 02 01:34:44 localhost.localdomain systemd[1]: Unit docker.service entered failed state.
Apr 02 01:34:44 localhost.localdomain systemd[1]: docker.service failed.
Apr 02 01:34:47 localhost.localdomain systemd[1]: docker.service holdoff time over, scheduling restart.
Apr 02 01:34:47 localhost.localdomain systemd[1]: Stopped Docker Application Container Engine.
-- Subject: Unit docker.service has finished shutting down
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit docker.service has finished shutting down.
Apr 02 01:34:47 localhost.localdomain systemd[1]: start request repeated too quickly for docker.service
Apr 02 01:34:47 localhost.localdomain systemd[1]: Failed to start Docker Application Container Engine.
-- Subject: Unit docker.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit docker.service has failed.
-- 
-- The result is failed.
Apr 02 01:34:47 localhost.localdomain systemd[1]: Unit docker.service entered failed state.
Apr 02 01:34:47 localhost.localdomain systemd[1]: docker.service failed.
lines 2500-2554/2554 (END)

```

**Docker version:**

```auto
Docker version 24.0.0-beta.1, build 33961a7

```

**Linux kernel version:**

```auto
Linux localhost.localdomain 3.10.0-1160.88.1.el7.x86_64 #1 SMP Tue Mar 7 15:41:52 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux

```

**CentOS version:**

```auto
CentOS Linux release 7.9.2009 (Core)

```

I notice `journalctl -xe`output said that `Status: invalid argument "<your" for "--registry-mirror" flag: invalid mirror: unsupported scheme "" in "%3Cyour"`, but I can’t find where to modify it. I have tried to reinstall docker, delete the `daemon.json` but they didn’t work.

---

<div class="post-metadata">

**Author:** ![rimelek](https://sea3.discourse-cdn.com/docker/user_avatar/forums.docker.com/rimelek/32/41602_2.png) [@rimelek](https://forums.docker.com/u/rimelek)\
**Post date:** [April 3, 2023, 10:22pm UTC](https://forums.docker.com/t/sudo-systemctl-start-docker-doesnt-work/135395/2 "2023-04-03T22:22:58Z")

</div>

> [@dariusgarland](#):
>
> but I can’t find where to modify it.

Since it is complaining about a command line argument, you should find it in the systemd service or maybe `/etc/default/docker`

The status output shows you where the service configuration file is which is usually the target of a symbolic link at `/etc/systemd/system/multi-user.target.want/docker.service`

I know you already got an answer on stackoverflow too and had another error with the docker info command. One thing I noticed is that you are using a beta version of Docker. You should use stable version.
