SugarOnDocker

From Sugar Labs
Jump to navigation Jump to search

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 to run programs using specific operating system onto every computer. You can run a Sugar container using Fedora onto your computer without having to be on 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.

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 the container image ~500mb

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

Run Sugar using Docker

There's a script to easily run Sugar. It supports data persistance 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