Page MenuHomeVyOS Platform

Running VyOS inside Docker containers
Closed, ResolvedPublicFEATURE REQUEST


From time to time appears requests for using VyOS inside Docker containers. Of course, such a use case has a lot of limitations, drawbacks, and potential issues for other network-related services in a host. But, from the other side - adapting VyOS to Docker (with some limitations, of course) is possible, so nothing stops us to provide container support for testing.


Difficulty level
Unknown (require assessment)
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Unspecified (possibly destroys the router)
Issue type
Feature (new functionality)

Related Objects

Mentioned In

Event Timeline

zsdc changed the task status from Open to In progress.Jun 25 2020, 12:01 PM

not willing to take the lead on this task but happy to help.

erkin set Issue type to Feature (new functionality).Aug 29 2021, 2:09 PM
erkin removed a subscriber: Active contributors.
Viacheslav changed the task status from In progress to Needs testing.Feb 28 2023, 4:14 PM
Viacheslav assigned this task to zsdc.

Works, tested with this steps

root@r14:/home/vyos# podman ps
CONTAINER ID  IMAGE                                   COMMAND     CREATED             STATUS                 PORTS       NAMES
d49f99e058d7  localhost/vyos:1.3-stable-202308240442  /sbin/init  About a minute ago  Up About a minute ago              vyos
root@r14:/home/vyos# sudo podman exec -ti vyos su - vyos
vyos@vyos:~$ show version 

Version:          VyOS 1.3-stable-202308240442
Release train:    equuleus

Built by:         [email protected]
Built on:         Thu 24 Aug 2023 04:42 UTC
Build UUID:       d21eb0cb-8123-4556-a1ab-95182c641b98
Build commit ID:  42535513ff2c9a

Architecture:     x86_64
Boot via:         installed image
System type:      KVM guest

Hardware vendor:  QEMU
Hardware model:   Standard PC (Q35 + ICH9, 2009)
Hardware S/N:     
Hardware UUID:    166cfd25-7d3a-4eca-9ef6-0b655c9acf0f

Copyright:        VyOS maintainers and contributors