[Sugar-devel] Introduction to the list

Michaël Ohayon mohayon75 at gmail.com
Tue May 12 10:35:07 EDT 2015


Great !

- I'll look onto preserving the state for the next versions

- Docker can run any docker container based on any linux.
Your os got his own docker version but you can run everything.
My Dockerfile specifies that the container should use fedora. So the guest
OS is fedora even if I use ArchLinux, Fedora or any other distro as host.

It's a great tool for develop/test. As you can see they are some
limitations for the distribution and some specific testing, like for the
hardware part but it's kinda stable.

The docker images are stored inside /usr/share/docker I think, don't delete
them manually or you'll get into troubles.

*How to remove things :*

Image : base Image of a system (like Fedora)
Container : running instance of an image

You can list images using : docker images -a
You can list containers using : docker ps -a
You can remove all containers using : docker rm `docker ps -aq`
You can remove all images using : docker rmi `docker images -aq`

You must kill and remove containers before images, so *to remove everything*
:
docker kill `docker ps -q`
docker rm `docker ps -aq`
docker rmi `docker images -aq`

The quote ` and not ' or " is important.

I'll setup a wiki page to keep this available !

--
Michaël Ohayon
Manager de l'Innovation Cloud et Mobilité
Epitech Innovation Hub

2015-05-12 14:18 GMT+02:00 Gonzalo Odiard <godiard at sugarlabs.org>:

> Nice. Is working now.
>
> This is very interesting. Started ok, and show a nice group of activities
>
> A few comments/questions:
>
> * Every time starts fresh (ask age/gender and select a color). There are
> any way to
> preserve a state?
>
> * Docker is using the packages installed in Fedora, right? What Fedora
> version?
> I am trying to understand if we should use this as a distribution option,
> as a testing option or if we can use it to develop/test.
>
> * Where is all the stuff downloaded?
>
> * Sugar crashed when I went to My Settings -> My computer
> (probably was trying to access some devices to get information about the
> hardware)
>
> Gonzalo
>
> On Tue, May 12, 2015 at 8:41 AM, Michaël Ohayon <mohayon75 at gmail.com>
> wrote:
>
>> Yes, docker should work now :)
>>
>> --
>> Michaël Ohayon
>> Manager de l'Innovation Cloud et Mobilité
>> Epitech Innovation Hub
>>
>> 2015-05-12 13:37 GMT+02:00 Gonzalo Odiard <godiard at sugarlabs.org>:
>>
>>>
>>>
>>> On Tue, May 12, 2015 at 3:33 AM, Michaël Ohayon <mohayon75 at gmail.com>
>>> wrote:
>>>
>>>> It seems that the docker service is not running.
>>>>
>>>> Does "systemctl start docker" gave you an error ?
>>>>
>>>
>>> No.
>>>
>>> Searching in Google I found this:
>>>
>>> https://bugzilla.redhat.com/show_bug.cgi?format=multiple&id=1214104
>>>
>>> Then I tried:
>>>
>>> sudo sh run.sh
>>>
>>> and is downloading.
>>>
>>> Is the right solution?
>>>
>>> Gonzalo
>>>
>>>
>>
>
>
> --
> Gonzalo Odiard
>
> SugarLabs - Software for children learning
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sugarlabs.org/archive/sugar-devel/attachments/20150512/da903f02/attachment.html>


More information about the Sugar-devel mailing list