DEV Community

loading...
Cover image for Adding a docker container to Pantavisor Linux

Adding a docker container to Pantavisor Linux

Alexander Sack
Platform Builder and Linux Tinkerer and maker of Pantahub
・1 min read

Adding a Pantavisor Linux system, middleware or app container from docker is done using our pvr middleware tool.

If you are using Pantavisor Linux with our PVBox frontend you can simply use the pvboxctl "install" command to get this done:

image

Next you select "Add from docker"

image

And choose a name:

image

And finally type the "Docker Source" ref from your preferred docker registry:

image

And let pvr do the the rest:

image

Once finished you will have a chance to do some final edits to you app and commit it:

===============================
Pantabox Interactive Edit Shell
===============================

We have provisioned the following files
for the parts you have selected to edit:


You can now edit part \'mynewapp\' and change
them to your liking.

Remember to pvr commit any changes you might
want to apply to your system.

When done, you can:
1. apply committed changes: exit 0 (or Ctrl-D)
2. discard your changes: exit 1

For help visit: https://pantavisor.io

pvctlbox::mynewapp#

Enter fullscreen mode Exit fullscreen mode

Often you can just use the container using the default configuration pantavisor linux generated for you.

Once happy you would run:

pvr add .
pvr commit
Enter fullscreen mode Exit fullscreen mode

and exit the interactive shell (e.g. press ctrl-D) to apply you changes and instruct pantavisor to run the new, modified system that includes your new docker container.

Discussion (0)