How do I make a copy of my Linode for local development?

Linode Staff

I want to work with my Linode on my local computer. What is the best way to do this?

Do you recommend using Docker?

1 Reply

There are a couple of ways to do this. Your suggestion of using Docker is probably the simplest as it abstracts away the complexities of the hardware.

VirtualBox Method

You can create a VM in VirtualBox to install a custom distribution and then use Rescue Mode in the Linode Manager and Finnix image on your local computer to upload/download a raw disk image to/from your Linode. The following guides will be helpful:

Regarding the transfer method used in the pervious article, I was
able to speed up the disk image transfer on a Mac by adding
gzip/gunzip to the pipeline (for example):

ssh [email protected] "dd if=/dev/sda | gzip " | gunzip | dd of=~/linode_image.img

Container Method

You can use docker to setup a container that holds your whole setup. In this case you will use your Linode only to run the container. The following is a guide that will help you get started with docker

We have plenty of other guides that cover different containers and provide example use cases.

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct