# Device "docker0" does not exist

**URL:** https://meta.discourse.org/t/device-docker0-does-not-exist/30216
**Category:** Self-hosting
**Created:** [June 19, 2015, 4:36pm UTC](https://meta.discourse.org/t/device-docker0-does-not-exist/30216 "2015-06-19T16:36:59Z")
**Posts on this page:** 17
**Page:** 2

<div class="post-metadata">

### Author: ![watchmanmonitor](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/watchmanmonitor/32/430970_2.png) [@watchmanmonitor](https://meta.discourse.org/u/watchmanmonitor)
#### Post date: [November 23, 2016, 5:35pm UTC](https://meta.discourse.org/t/device-docker0-does-not-exist/30216/22 "2016-11-23T17:35:42Z")

</div>

I’m seeing this on my current install…

```plaintext
# ./launcher rebuild app
Device "docker0" does not exist.

# docker --version
Docker version 1.12.3, build 6b644ec

# lsb_release -a
No LSB modules are available.
Distributor ID:	Ubuntu
Description:	Ubuntu 14.04.5 LTS
Release:	14.04
Codename:	trusty

# uname -a
Linux community 3.13.0-85-generic #129-Ubuntu SMP Thu Mar 17 20:50:15 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux

```

This is a Digital Ocean 2GB vm.. Problems started after applying gnerI suspect I have an incompatible kernel selected.

I’ve gone back to `Ubuntu 14.04 x64 vmlinuz-3.13.0-71-generic` removed docker-engine and re-installed, but still have the same issue.

This is what’s in my /var/discourse folder. I don’t know what’s up with that `docker -> docker` entry.. maybe that’s old news from a long time ago?

```plaintext
:/var/discourse# ls -al
total 100
drwxr-xr-x 11 root root 4096 Nov 23 12:11 .
drwxr-xr-x 13 root root 4096 Sep 6 2014 ..
drwxr-xr-x 2 root root 4096 Feb 22 2015 bin
drwxr-xr-x 2 root root 4096 Nov 1 10:14 cids
drwxr-xr-x 2 root root 4096 Oct 20 23:30 containers
-rwxr-xr-x 1 root root 13303 Nov 1 09:46 discourse-setup
lrwxrwxrwx 1 root root 6 Sep 6 2014 docker -> docker
drwxr-xr-x 8 root root 4096 Nov 23 12:35 .git
-rw-r--r-- 1 root root 290 Nov 1 09:46 .gitignore
drwxr-xr-x 9 root root 4096 Nov 23 12:11 image
-rwxr-xr-x 1 root root 19151 Nov 23 12:11 launcher
-rw-r--r-- 1 root root 8281 Nov 1 09:46 README.md
drwxr-xr-x 2 root root 4096 Sep 13 12:20 samples
drwxr-xr-x 2 root root 4096 Apr 23 2016 scripts
drwxr-xr-x 4 root root 4096 Aug 28 19:47 shared
drwxr-xr-x 3 root root 4096 Nov 23 12:11 templates
-rw-r--r-- 1 root root 0 May 28 00:34 v1.0.0
-rw-r--r-- 1 root root 0 May 28 00:34 v1.0.1
-rw-r--r-- 1 root root 1122 Nov 6 2015 Vagrantfile

```

What else might get me past the failure to find docker here?

---

<div class="post-metadata">

### Author: ![Falco](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/falco/32/179432_2.png) [@Falco](https://meta.discourse.org/u/Falco)
#### Post date: [November 23, 2016, 5:45pm UTC](https://meta.discourse.org/t/device-docker0-does-not-exist/30216/23 "2016-11-23T17:45:16Z")

</div>

Did you try to reboot the server?

---

<div class="post-metadata">

### Author: ![watchmanmonitor](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/watchmanmonitor/32/430970_2.png) [@watchmanmonitor](https://meta.discourse.org/u/watchmanmonitor)
#### Post date: [November 23, 2016, 5:46pm UTC](https://meta.discourse.org/t/device-docker0-does-not-exist/30216/24 "2016-11-23T17:46:04Z")

</div>

Yes, sorry for not stating that. Each time I tried a new kernel, after reinstalling docker, and once more before posting.

---

<div class="post-metadata">

### Author: ![Falco](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/falco/32/179432_2.png) [@Falco](https://meta.discourse.org/u/Falco)
#### Post date: [November 23, 2016, 6:11pm UTC](https://meta.discourse.org/t/device-docker0-does-not-exist/30216/25 "2016-11-23T18:11:55Z")

</div>

What about manually starting the docker service?

---

<div class="post-metadata">

### Author: ![watchmanmonitor](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/watchmanmonitor/32/430970_2.png) [@watchmanmonitor](https://meta.discourse.org/u/watchmanmonitor)
#### Post date: [November 23, 2016, 6:12pm UTC](https://meta.discourse.org/t/device-docker0-does-not-exist/30216/26 "2016-11-23T18:12:52Z")

</div>

```plaintext
# service docker start
start: Job is already running: docker

```

---

<div class="post-metadata">

### Author: ![Falco](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/falco/32/179432_2.png) [@Falco](https://meta.discourse.org/u/Falco)
#### Post date: [November 23, 2016, 6:16pm UTC](https://meta.discourse.org/t/device-docker0-does-not-exist/30216/27 "2016-11-23T18:16:19Z")

</div>

Does `ifconfig` show the `docker0` entry?

---

<div class="post-metadata">

### Author: ![watchmanmonitor](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/watchmanmonitor/32/430970_2.png) [@watchmanmonitor](https://meta.discourse.org/u/watchmanmonitor)
#### Post date: [November 23, 2016, 6:19pm UTC](https://meta.discourse.org/t/device-docker0-does-not-exist/30216/28 "2016-11-23T18:19:41Z")

</div>

It does not

```plaintext
# ifconfig 
eth0 Link encap:Ethernet HWaddr 04:01:1a:XX:XX:XX  
          inet addr:107.170.XX.XX Bcast:107.170.XXX.255 Mask:255.255.224.0
          inet6 addr: fe80::601:XXXXXX:XXXXX:XXXXX/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
          RX packets:2059 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1903 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:274024 (274.0 KB) TX bytes:225541 (225.5 KB)

lo Link encap:Local Loopback  
          inet addr:127.0.0.1 Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING MTU:65536 Metric:1
          RX packets:288 errors:0 dropped:0 overruns:0 frame:0
          TX packets:288 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:20667 (20.6 KB) TX bytes:20667 (20.6 KB)

```

---

<div class="post-metadata">

### Author: ![Falco](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/falco/32/179432_2.png) [@Falco](https://meta.discourse.org/u/Falco)
#### Post date: [November 23, 2016, 6:22pm UTC](https://meta.discourse.org/t/device-docker0-does-not-exist/30216/29 "2016-11-23T18:22:37Z")

</div>

So it claims docker is running, however no docker network interface in sight?

You can try to debug this, restarting over with a backup in a new droplet may be faster.

---

<div class="post-metadata">

### Author: ![watchmanmonitor](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/watchmanmonitor/32/430970_2.png) [@watchmanmonitor](https://meta.discourse.org/u/watchmanmonitor)
#### Post date: [November 23, 2016, 6:24pm UTC](https://meta.discourse.org/t/device-docker0-does-not-exist/30216/30 "2016-11-23T18:24:09Z")

</div>

True story! Would the kernel change prevent that from showing up?

---

<div class="post-metadata">

### Author: ![watchmanmonitor](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/watchmanmonitor/32/430970_2.png) [@watchmanmonitor](https://meta.discourse.org/u/watchmanmonitor)
#### Post date: [November 23, 2016, 6:31pm UTC](https://meta.discourse.org/t/device-docker0-does-not-exist/30216/31 "2016-11-23T18:31:40Z")

</div>

Your comments led me to a solution, related to changing the kernel, and not having the right supporting packages installed

From [An error occurred trying to connect version 1.9.0 · Issue #17846 · moby/moby · GitHub](https://github.com/docker/docker/issues/17846#issuecomment-254149050)

> `apt-get install linux-image-extra-$(uname -r)`  
> This works for me.

My container is rebuilding now. ❤

---

<div class="post-metadata">

### Author: ![Falco](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/falco/32/179432_2.png) [@Falco](https://meta.discourse.org/u/Falco)
#### Post date: [November 23, 2016, 6:31pm UTC](https://meta.discourse.org/t/device-docker0-does-not-exist/30216/32 "2016-11-23T18:31:41Z")

</div>

It can be anything.

If you are felling adventurous you can try to track it down with `less /var/log/upstart/docker.log`.

---

<div class="post-metadata">

### Author: ![terraboss](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/terraboss/32/381157_2.png) [@terraboss](https://meta.discourse.org/u/terraboss)
#### Post date: [December 5, 2016, 9:36am UTC](https://meta.discourse.org/t/device-docker0-does-not-exist/30216/33 "2016-12-05T09:36:20Z")

</div>

Not in my case.

I’m also getting the same error message on trying to bootstrap discourse.

Docker installation failed on “unable to locate docker-engine”.

Then I’ve tried a second way by using apt-get install docker-engine. Result is the same. Can’t be found.

I’m running Ubuntu 16.10 minimal (at Hetzner Germany).

Any clue how to fix it?

---

<div class="post-metadata">

### Author: ![littleviolette](https://avatars.discourse-cdn.com/v4/letter/l/d26b3c/32.png) [@littleviolette](https://meta.discourse.org/u/littleviolette)
#### Post date: [December 18, 2016, 11:44pm UTC](https://meta.discourse.org/t/device-docker0-does-not-exist/30216/34 "2016-12-18T23:44:28Z")

</div>

Hi everyone,

I got the same error message `Device "docker0" does not exist` after i got disconnected in the middle of an upgrade by running `'do-release-upgrade'`. What can I do to get it running again? Much appreciate the help!

---

<div class="post-metadata">

### Author: ![littleviolette](https://avatars.discourse-cdn.com/v4/letter/l/d26b3c/32.png) [@littleviolette](https://meta.discourse.org/u/littleviolette)
#### Post date: [December 19, 2016, 12:07am UTC](https://meta.discourse.org/t/device-docker0-does-not-exist/30216/35 "2016-12-19T00:07:40Z")

</div>

Restarting the docker using the following command solved the issue:

```
./launcher stop app
./launcher start app

```

Thanks everyone!

---

<div class="post-metadata">

### Author: ![askjoyb](https://avatars.discourse-cdn.com/v4/letter/a/aca169/32.png) [@askjoyb](https://meta.discourse.org/u/askjoyb)
#### Post date: [September 20, 2018, 10:25am UTC](https://meta.discourse.org/t/device-docker0-does-not-exist/30216/36 "2018-09-20T10:25:15Z")

</div>

this comes only when you are running the installation in a docker instance its not a proper vps server on which you are trying to install - i have faced same issue… check with your provider once

---

<div class="post-metadata">

### Author: ![Josef\_Kulovany](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/josef_kulovany/32/126214_2.png) [@Josef\_Kulovany](https://meta.discourse.org/u/Josef_Kulovany)
#### Post date: [December 7, 2018, 2:35am UTC](https://meta.discourse.org/t/device-docker0-does-not-exist/30216/37 "2018-12-07T02:35:29Z")

</div>

You sir, saved my ass

---

<div class="post-metadata">

### Author: ![ajey\_kulkarni](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ajey_kulkarni/32/137956_2.png) [@ajey\_kulkarni](https://meta.discourse.org/u/ajey_kulkarni)
#### Post date: [April 10, 2019, 11:53am UTC](https://meta.discourse.org/t/device-docker0-does-not-exist/30216/38 "2019-04-10T11:53:06Z")

</div>

Hi,  
I was facing the same issue then i checked the space in the server where docker is installed and it was full so removed some files, docker came up.  
As there was no space ,docker was not able create network and hence service was down n was not able to start the service also

[Previous page](https://meta.discourse.org/t/device-docker0-does-not-exist/30216.md?page=1)
