cyber-dojo Raspberry Pies in action



Liam Friel, who helps to run a CoderDojoBray (in Ireland) asked me for some Raspberry Pies which I was more than happy to give him, paid for from the donations lots of you generous people have made from cyber-dojo.

Liam sent me this wonderful photo of a CoderDojoBray session and writes:

Your Raspberry Pies have been getting a lot of use... We've got 8 Pies in total. Got a reasonably steady turnout at the dojo, 75-85 kids turning up each week.

Awesome. If, like Liam, you would like some Raspberry Pies to help kids learn about coding, please email. Thanks

running your own cyber-dojo Docker server on Windows

These instructions are intended for individuals wishing to run cyber-dojo locally on their Windows laptop.
Note that these instructions are for running Docker-Toolbox for Windows.
Running Docker Desktop for Windows may or may not work.

install Docker-Toolbox for Windows

From here.



open a Docker-Quickstart-Terminal




get your cyber-dojo server's IP address

In the Docker-Quickstart-Terminal, type:
$ docker-machine ip default
It will print something like 192.168.99.100


ssh into your cyber-dojo server

In the Docker-Quickstart-Terminal, type:
$ docker-machine ssh default




setup directory permissions

cyber-dojo saves the practice sessions to /cyber-dojo
You need to set the correct permissions for this directory.
The user-id for the saver service is 19663, and its group-id is 65533.
In the cyber-dojo server terminal, type:
docker@default:~$ sudo mkdir /cyber-dojo docker@default:~$ sudo chown 19663:65533 /cyber-dojo


install the cyber-dojo script

In the cyber-dojo server terminal, type:
docker@default:~$ curl -O https://raw.githubusercontent.com/cyber-dojo/commander/master/cyber-dojo docker@default:~$ chmod 700 cyber-dojo


Now use this cyber-dojo script, from a (default VM) cyber-dojo server terminal, to run your own cyber-dojo server.

running your own cyber-dojo Docker server on a Mac

These instructions are intended for individuals wishing to run cyber-dojo locally on their Mac laptop.
Note that these instructions are for running Docker-Toolbox for Mac.
Running Docker Desktop for Mac may or may not work.

install Docker-Toolbox for Mac

From here.



open a Docker-Quickstart-Terminal




get your cyber-dojo server's IP address

In the Docker-Quickstart-Terminal, type:
$ docker-machine ip default
It will print something like 192.168.99.100


ssh into your cyber-dojo server

In the Docker-Quickstart-Terminal, type:
$ docker-machine ssh default




setup directory permissions

cyber-dojo saves the practice sessions to /cyber-dojo
You need to set the correct permissions for this directory.
The user-id for the saver service is 19663, and its group-id is 65533.
In the cyber-dojo server terminal, type:
docker@default:~$ sudo mkdir /cyber-dojo docker@default:~$ sudo chown 19663:65533 /cyber-dojo


install the cyber-dojo script

In the cyber-dojo server terminal, type:
docker@default:~$ curl -O https://raw.githubusercontent.com/cyber-dojo/commander/master/cyber-dojo docker@default:~$ chmod 700 cyber-dojo


Now use this cyber-dojo script, from a (default VM) cyber-dojo server terminal, to run your own cyber-dojo server.

running your own cyber-dojo Docker server on Linux

install docker

If docker is not already installed, install it.
  • To install manually, follow the instructions on the docker website.
  • To install with a script (via curl):
    $ curl -sSL https://get.docker.com/ | sh
  • To install with a script (via wget):
    $ wget -qO- https://get.docker.com/ | sh


add your user to the docker group

Eg, something like
$ sudo usermod -aG docker $USER


log out and log in again

You need to do this for the previous usermod to take effect.


setup directory permissions

cyber-dojo saves the practice sessions to /cyber-dojo
You need to set the correct permissions for this directory.
The user-id for the saver service is 19663, and its group-id is 65533.
In a terminal, type:
$ sudo mkdir /cyber-dojo $ sudo chown 19663:65533 /cyber-dojo


install the cyber-dojo shell script

In a terminal, type:
$ curl -O https://raw.githubusercontent.com/cyber-dojo/commander/master/cyber-dojo $ chmod 700 cyber-dojo


Now use this cyber-dojo script to run your own cyber-dojo server.