# Create GRE tunnel inside container

**URL:** <https://forums.docker.com/t/create-gre-tunnel-inside-container/21495>\
**Category:** Docker Desktop\
**Created:** [September 2, 2016, 1:47pm UTC](https://forums.docker.com/t/create-gre-tunnel-inside-container/21495 "2016-09-02T13:47:14Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![nicollet](https://avatars.discourse-cdn.com/v4/letter/n/e8c25b/32.png) [@nicollet](https://forums.docker.com/u/nicollet)\
**Post date:** [September 2, 2016, 1:47pm UTC](https://forums.docker.com/t/create-gre-tunnel-inside-container/21495/1 "2016-09-02T13:47:14Z")

</div>

I am trying to build a GRE tunnel inside an ubuntu container:

> root@ny-fw01:/# ip tunnel add netb mode gre remote 100.65.0.6 local 100.65.0.2 ttl 255  
> add tunnel “gre0” failed: No such device

I am running 1.12.1 beta 24.  
The container is run with: --privileged --cap-add=ALL options.

Note that it does work on a linux host (running CentOS). So is there a way to add GRE functionnality inside the MacOS linux virtual machine?

Thanks for your help,
