Difference between revisions of "SugarOnDocker"

From Sugar Labs
Jump to navigation Jump to search
Line 32: Line 32:
 
==Run Sugar using Docker==
 
==Run Sugar using Docker==
  
There's a script to easily run Sugar. It supports data persistance and .activity installation
+
First, install Docker.  That's outside the scope of this page.
 +
 
 +
Second, there's a script to easily run Sugar. It supports data persistence and activity installation.
  
 
https://github.com/mikklfr/docker-sugar
 
https://github.com/mikklfr/docker-sugar

Revision as of 20:04, 27 May 2015

Docker

Introduction

This page presents how to run Sugar with Docker.

You'll be able to run Sugar on your computer without having to install the Sugar environment.

Requirements : GNU/Linux, 64bits processor, Docker, Graphical Display.

Docker allows you to run programs using specific operating system onto every computer. You can run a Sugar container using Fedora onto your computer without having to install Fedora.

The guest operating system is isolated from the host. When running Sugar onto Docker, you won't have to install Sugar dependencies or to be onto the same OS.

It is container virtualisation, which is faster than processor virtualisation.

Use cases

Docker is great for TESTING / DEVELOPING purposes

It could be used to distribute Sugar but the XO specificities will strongly discourage this usage.

Pro / Cons

+ Docker will help you to easily try some activities if you haven't installed Sugar.

+ It's fast and won't install anything on your computer

- It needs to download a container image ~500mb once

- Won't allow to run every apps, and won't act exactly as the XO.

Run Sugar using Docker

First, install Docker. That's outside the scope of this page.

Second, there's a script to easily run Sugar. It supports data persistence and activity installation.

https://github.com/mikklfr/docker-sugar

Usage

 git clone https://github.com/mikklfr/docker-sugar.git
 cd docker-sugar
 sh run.sh

demo-small.gif