# Linux

#### Restarting Docker on your Linux device is similar to how you would do it on a Mac if you're running the worker by GPU. Kindly check [here](mac-os).

#### However, if you're running the worker by CPU (<mark style="color:red;">QEMU Virtual CPU version 2.5+</mark>), you can simply open Terminal and enter your worker command directly. For example:

1.  Get your worker command here:\


    <figure><img src="https://2961622933-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FqMfOJ12ORoZOYNm0exux%2Fuploads%2FKnYj67EEhT9JUtCNkCMe%2Fimage.png?alt=media&#x26;token=df53b2f7-4689-44bf-bb55-1b9afe2ed310" alt=""><figcaption></figcaption></figure>
2.  Paste into Terminal:\


    <figure><img src="https://2961622933-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FqMfOJ12ORoZOYNm0exux%2Fuploads%2FA0TLvnzqWR6Onino22zJ%2Fimage.png?alt=media&#x26;token=80f30e43-fe0c-4a28-a2cc-72640dad4d19" alt=""><figcaption><p>It re-runs successfully</p></figcaption></figure>



