2

I'm about to start a project where I have to test a number of software solutions on a RPi2 running Raspbian without X.

It would be too much effort to reinstall raspbian on the SD card or to cleanse the SD card after each test. I want to create a container, in which I install software and process some data, test it and then dispose the container, without impacting the host.

Is it possible to use chroot, lxc or docker in this case? If so where do I start?

0

Docker is a great option but it might be a bit heavy. I don't have much experience with lxc but chroot may also work.

Other options such as Snapcraft or Flatpak could work too. Snapcraft is really easy to get up and running - http://snapcraft.io/docs/build-snaps/your-first-snap

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.